@@ -9,7 +9,7 @@ note: tuple variant defined here
9
9
|
10
10
LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
11
11
| ^^
12
- help: use parentheses to construct a tuple
12
+ help: wrap these arguments in parentheses to construct a tuple
13
13
|
14
14
LL | let _: Result<(i32, i8), ()> = Ok((1, 2));
15
15
| + +
@@ -25,7 +25,7 @@ note: tuple variant defined here
25
25
|
26
26
LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
27
27
| ^^^^
28
- help: use parentheses to construct a tuple
28
+ help: wrap these arguments in parentheses to construct a tuple
29
29
|
30
30
LL | let _: Option<(i32, i8, &'static str)> = Some((1, 2, "hi"));
31
31
| + +
@@ -97,7 +97,7 @@ note: function defined here
97
97
|
98
98
LL | fn two_ints(_: (i32, i32)) {
99
99
| ^^^^^^^^ -------------
100
- help: use parentheses to construct a tuple
100
+ help: wrap these arguments in parentheses to construct a tuple
101
101
|
102
102
LL | two_ints((1, 2));
103
103
| + +
@@ -113,7 +113,7 @@ note: function defined here
113
113
|
114
114
LL | fn with_generic<T: Copy + Send>((a, b): (i32, T)) {
115
115
| ^^^^^^^^^^^^ ----------------
116
- help: use parentheses to construct a tuple
116
+ help: wrap these arguments in parentheses to construct a tuple
117
117
|
118
118
LL | with_generic((3, 4));
119
119
| + +
@@ -129,7 +129,7 @@ note: function defined here
129
129
|
130
130
LL | fn with_generic<T: Copy + Send>((a, b): (i32, T)) {
131
131
| ^^^^^^^^^^^^ ----------------
132
- help: use parentheses to construct a tuple
132
+ help: wrap these arguments in parentheses to construct a tuple
133
133
|
134
134
LL | with_generic((a, b));
135
135
| + +
0 commit comments