2021-09-01 03:07:58 +00:00
|
|
|
error: leading `+` is not supported
|
|
|
|
--> $DIR/issue-88276-unary-plus.rs:4:13
|
|
|
|
|
|
|
|
|
LL | let _ = +1;
|
2021-09-05 02:35:59 +00:00
|
|
|
| ^ unexpected `+`
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
help: try removing the `+`
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
LL - let _ = +1;
|
|
|
|
LL + let _ = 1;
|
2022-06-08 17:34:57 +00:00
|
|
|
|
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
2021-09-05 02:35:59 +00:00
|
|
|
--> $DIR/issue-88276-unary-plus.rs:5:20
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
LL | let _ = (1.0 + +2.0) * +3.0;
|
|
|
|
| ^ unexpected `+`
|
2021-09-01 15:54:06 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
help: try removing the `+`
|
2021-09-01 15:54:06 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
LL - let _ = (1.0 + +2.0) * +3.0;
|
|
|
|
LL + let _ = (1.0 + 2.0) * +3.0;
|
2022-06-08 17:34:57 +00:00
|
|
|
|
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
2021-09-05 02:35:59 +00:00
|
|
|
--> $DIR/issue-88276-unary-plus.rs:5:28
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
LL | let _ = (1.0 + +2.0) * +3.0;
|
|
|
|
| ^ unexpected `+`
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
help: try removing the `+`
|
|
|
|
|
|
|
|
|
LL - let _ = (1.0 + +2.0) * +3.0;
|
|
|
|
LL + let _ = (1.0 + +2.0) * 3.0;
|
2022-06-08 17:34:57 +00:00
|
|
|
|
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
|
|
error: leading `+` is not supported
|
2021-09-05 02:35:59 +00:00
|
|
|
--> $DIR/issue-88276-unary-plus.rs:7:14
|
|
|
|
|
|
|
|
|
LL | let _ = [+3, 4+6];
|
|
|
|
| ^ unexpected `+`
|
|
|
|
|
|
|
|
|
help: try removing the `+`
|
2021-09-01 03:07:58 +00:00
|
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
LL - let _ = [+3, 4+6];
|
|
|
|
LL + let _ = [3, 4+6];
|
2022-06-08 17:34:57 +00:00
|
|
|
|
|
2021-09-01 03:07:58 +00:00
|
|
|
|
2021-09-05 02:35:59 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2021-09-01 03:07:58 +00:00
|
|
|
|