rust/src/test/ui/parser/issue-88276-unary-plus.stderr

84 lines
2.1 KiB
Plaintext
Raw Normal View History

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 `+`
| 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 `+`
| help: try removing the `+`
2021-08-31 22:07:58 -05:00
error: leading `+` is not supported
--> $DIR/issue-88276-unary-plus.rs:6:14
2021-08-31 22:07:58 -05:00
|
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:6:16
2021-08-31 22:07:58 -05:00
|
LL | let _ = -+-+(1+2)*3;
| ^
| |
| unexpected `+`
| 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 `+`
| 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 `+`
| 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 `+`
| help: try removing the `+`
2021-08-31 22:07:58 -05:00
error: aborting due to 9 previous errors