@@ -5,7 +5,7 @@ LL | let _ = +1;
55 | ^
66 | |
77 | unexpected `+`
8- | help: remove the `+`
8+ | help: try removing the `+`
99
1010error: leading `+` is not supported
1111 --> $DIR/issue-88276-unary-plus.rs:5:14
@@ -14,43 +14,43 @@ LL | let _ = -+(1+2)*3;
1414 | ^
1515 | |
1616 | unexpected `+`
17- | help: remove the `+`
17+ | help: try removing the `+`
1818
1919error: leading `+` is not supported
20- --> $DIR/issue-88276-unary-plus.rs:6:13
21- |
22- LL | let _ = +-+(1+2)*3;
23- | ^
24- | |
25- | unexpected `+`
26- | help: remove the `+`
27-
28- error: leading `+` is not supported
29- --> $DIR/issue-88276-unary-plus.rs:6:15
30- |
31- LL | let _ = +-+(1+2)*3;
32- | ^
33- | |
34- | unexpected `+`
35- | help: remove the `+`
36-
37- error: leading `+` is not supported
38- --> $DIR/issue-88276-unary-plus.rs:8:14
20+ --> $DIR/issue-88276-unary-plus.rs:6:14
3921 |
4022LL | let _ = -+-+(1+2)*3;
4123 | ^
4224 | |
4325 | unexpected `+`
44- | help: remove the `+`
26+ | help: try removing the `+`
4527
4628error: leading `+` is not supported
47- --> $DIR/issue-88276-unary-plus.rs:8 :16
29+ --> $DIR/issue-88276-unary-plus.rs:6 :16
4830 |
4931LL | let _ = -+-+(1+2)*3;
5032 | ^
5133 | |
5234 | unexpected `+`
53- | help: remove the `+`
35+ | help: try removing the `+`
36+
37+ error: leading `+` is not supported
38+ --> $DIR/issue-88276-unary-plus.rs:8:18
39+ |
40+ LL | let _ = (1 + +2) * +3;
41+ | ^
42+ | |
43+ | unexpected `+`
44+ | help: try removing the `+`
45+
46+ error: leading `+` is not supported
47+ --> $DIR/issue-88276-unary-plus.rs:8:24
48+ |
49+ LL | let _ = (1 + +2) * +3;
50+ | ^
51+ | |
52+ | unexpected `+`
53+ | help: try removing the `+`
5454
5555error: leading `+` is not supported
5656 --> $DIR/issue-88276-unary-plus.rs:10:14
@@ -59,7 +59,7 @@ LL | let _ = (+&"hello");
5959 | ^
6060 | |
6161 | unexpected `+`
62- | help: remove the `+`
62+ | help: try removing the `+`
6363
6464error: leading `+` is not supported
6565 --> $DIR/issue-88276-unary-plus.rs:11:13
@@ -68,7 +68,7 @@ LL | let _ = +[+3, 4+6];
6868 | ^
6969 | |
7070 | unexpected `+`
71- | help: remove the `+`
71+ | help: try removing the `+`
7272
7373error: leading `+` is not supported
7474 --> $DIR/issue-88276-unary-plus.rs:11:15
@@ -77,7 +77,7 @@ LL | let _ = +[+3, 4+6];
7777 | ^
7878 | |
7979 | unexpected `+`
80- | help: remove the `+`
80+ | help: try removing the `+`
8181
8282error: aborting due to 9 previous errors
8383
0 commit comments