@@ -2,82 +2,49 @@ error: leading `+` is not supported
22 --> $DIR/issue-88276-unary-plus.rs:4:13
33 |
44LL | let _ = +1;
5- | ^
6- | |
7- | unexpected `+`
8- | help: try removing the `+`
9-
10- error: leading `+` is not supported
11- --> $DIR/issue-88276-unary-plus.rs:5:14
5+ | ^ unexpected `+`
126 |
13- LL | let _ = -+(1+2)*3;
14- | ^
15- | |
16- | unexpected `+`
17- | help: try removing the `+`
18-
19- error: leading `+` is not supported
20- --> $DIR/issue-88276-unary-plus.rs:6:14
7+ help: try removing the `+`
218 |
22- LL | let _ = -+-+(1+2)*3;
23- | ^
24- | |
25- | unexpected `+`
26- | help: try removing the `+`
9+ LL - let _ = +1;
10+ LL + let _ = 1;
11+ |
2712
2813error: leading `+` is not supported
29- --> $DIR/issue-88276-unary-plus.rs:6:16
14+ --> $DIR/issue-88276-unary-plus.rs:5:20
3015 |
31- LL | let _ = -+-+(1+2)*3;
32- | ^
33- | |
34- | unexpected `+`
35- | help: try removing the `+`
36-
37- error: leading `+` is not supported
38- --> $DIR/issue-88276-unary-plus.rs:8:18
16+ LL | let _ = (1.0 + +2.0) * +3.0;
17+ | ^ unexpected `+`
3918 |
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
19+ help: try removing the `+`
4820 |
49- LL | let _ = (1 + +2) * +3;
50- | ^
51- | |
52- | unexpected `+`
53- | help: try removing the `+`
21+ LL - let _ = (1.0 + +2.0) * +3.0;
22+ LL + let _ = (1.0 + 2.0) * +3.0;
23+ |
5424
5525error: leading `+` is not supported
56- --> $DIR/issue-88276-unary-plus.rs:10:14
26+ --> $DIR/issue-88276-unary-plus.rs:5:28
5727 |
58- LL | let _ = (+&"hello");
59- | ^
60- | |
61- | unexpected `+`
62- | help: try removing the `+`
63-
64- error: leading `+` is not supported
65- --> $DIR/issue-88276-unary-plus.rs:11:13
28+ LL | let _ = (1.0 + +2.0) * +3.0;
29+ | ^ unexpected `+`
6630 |
67- LL | let _ = +[+3, 4+6];
68- | ^
69- | |
70- | unexpected `+`
71- | help: try removing the `+`
31+ help: try removing the `+`
32+ |
33+ LL - let _ = (1.0 + +2.0) * +3.0;
34+ LL + let _ = (1.0 + +2.0) * 3.0;
35+ |
7236
7337error: leading `+` is not supported
74- --> $DIR/issue-88276-unary-plus.rs:11:15
38+ --> $DIR/issue-88276-unary-plus.rs:7:14
39+ |
40+ LL | let _ = [+3, 4+6];
41+ | ^ unexpected `+`
42+ |
43+ help: try removing the `+`
7544 |
76- LL | let _ = +[+3, 4+6];
77- | ^
78- | |
79- | unexpected `+`
80- | help: try removing the `+`
45+ LL - let _ = [+3, 4+6];
46+ LL + let _ = [3, 4+6];
47+ |
8148
82- error: aborting due to 9 previous errors
49+ error: aborting due to 4 previous errors
8350
0 commit comments