2019-01-04 02:57:11 +03:00
|
|
|
error: suffixed literals are not allowed in attributes
|
2020-11-07 16:09:40 +03:00
|
|
|
--> $DIR/malformed-interpolated.rs:12:8
|
2019-01-04 02:57:11 +03:00
|
|
|
|
|
2019-05-10 03:00:51 +03:00
|
|
|
LL | check!(0u8);
|
|
|
|
| ^^^
|
2019-01-04 02:57:11 +03:00
|
|
|
|
|
2020-01-10 14:57:36 +00:00
|
|
|
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
|
2019-01-04 02:57:11 +03:00
|
|
|
|
2023-12-12 09:55:50 +11:00
|
|
|
error: attribute value must be a literal
|
2020-11-07 16:09:40 +03:00
|
|
|
--> $DIR/malformed-interpolated.rs:13:8
|
2019-12-16 15:56:47 +02:00
|
|
|
|
|
2020-11-07 16:09:40 +03:00
|
|
|
LL | check!(-0);
|
|
|
|
| ^^
|
2019-01-04 02:57:11 +03:00
|
|
|
|
2023-12-12 09:55:50 +11:00
|
|
|
error: attribute value must be a literal
|
2020-11-07 16:09:40 +03:00
|
|
|
--> $DIR/malformed-interpolated.rs:14:8
|
2019-12-16 15:56:47 +02:00
|
|
|
|
|
2020-11-07 16:09:40 +03:00
|
|
|
LL | check!(0 + 0);
|
|
|
|
| ^^^^^
|
2019-01-04 02:57:11 +03:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|