blob: d1be82cf7b7d3af22a0b04cafdba50d7a9fd42ee [file] [log] [blame]
error: suffixed literals are not allowed in attributes
--> $DIR/malformed-interpolated.rs:13:8
|
LL | check!(0u8);
| ^^^
|
= help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
error: unexpected token: `-0`
--> $DIR/malformed-interpolated.rs:5:25
|
LL | #[rustc_dummy = $expr]
| ^^^^^
...
LL | check!(-0); // ERROR, see above
| ----------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: unexpected token: `0 + 0`
--> $DIR/malformed-interpolated.rs:5:25
|
LL | #[rustc_dummy = $expr]
| ^^^^^
...
LL | check!(0 + 0); // ERROR, see above
| -------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 3 previous errors