2021-08-31 22:07:58 -05:00
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:4:13
|
|
|
|
|
|
|
|
|
LL | let _ = +1;
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:5:14
|
|
|
|
|
|
|
|
|
LL | let _ = -+(1+2)*3;
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
2021-09-01 10:54:06 -05:00
|
|
|
--> $DIR/issue-88276-unary-plus.rs:6:14
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
|
LL | let _ = -+-+(1+2)*3;
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
2021-09-01 10:54:06 -05:00
|
|
|
--> $DIR/issue-88276-unary-plus.rs:6:16
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
|
LL | let _ = -+-+(1+2)*3;
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
|
|
|
|
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:8:18
|
|
|
|
|
|
|
|
|
LL | let _ = (1 + +2) * +3;
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
|
|
|
| help: try removing the `+`
|
|
|
|
|
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:8:24
|
|
|
|
|
|
|
|
|
LL | let _ = (1 + +2) * +3;
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:10:14
|
|
|
|
|
|
|
|
|
LL | let _ = (+&"hello");
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:11:13
|
|
|
|
|
|
|
|
|
LL | let _ = +[+3, 4+6];
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:11:15
|
|
|
|
|
|
|
|
|
LL | let _ = +[+3, 4+6];
|
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| unexpected `+`
|
2021-09-01 10:54:06 -05:00
|
|
|
| help: try removing the `+`
|
2021-08-31 22:07:58 -05:00
|
|
|
|
|
|
|
error: aborting due to 9 previous errors
|
|
|
|
|