@@ -9,7 +9,7 @@ note: tuple variant defined here
99 |
1010LL | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
1111 | ^^
12- help: use parentheses to construct a tuple
12+ help: wrap these arguments in parentheses to construct a tuple
1313 |
1414LL | let _: Result<(i32, i8), ()> = Ok((1, 2));
1515 | + +
@@ -25,7 +25,7 @@ note: tuple variant defined here
2525 |
2626LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
2727 | ^^^^
28- help: use parentheses to construct a tuple
28+ help: wrap these arguments in parentheses to construct a tuple
2929 |
3030LL | let _: Option<(i32, i8, &'static str)> = Some((1, 2, "hi"));
3131 | + +
@@ -97,7 +97,7 @@ note: function defined here
9797 |
9898LL | fn two_ints(_: (i32, i32)) {
9999 | ^^^^^^^^ -------------
100- help: use parentheses to construct a tuple
100+ help: wrap these arguments in parentheses to construct a tuple
101101 |
102102LL | two_ints((1, 2));
103103 | + +
@@ -113,7 +113,7 @@ note: function defined here
113113 |
114114LL | fn with_generic<T: Copy + Send>((a, b): (i32, T)) {
115115 | ^^^^^^^^^^^^ ----------------
116- help: use parentheses to construct a tuple
116+ help: wrap these arguments in parentheses to construct a tuple
117117 |
118118LL | with_generic((3, 4));
119119 | + +
@@ -129,7 +129,7 @@ note: function defined here
129129 |
130130LL | fn with_generic<T: Copy + Send>((a, b): (i32, T)) {
131131 | ^^^^^^^^^^^^ ----------------
132- help: use parentheses to construct a tuple
132+ help: wrap these arguments in parentheses to construct a tuple
133133 |
134134LL | with_generic((a, b));
135135 | + +
0 commit comments