fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
998 B32 linesraw
1error: suffixed literals are not allowed in attributes
2  --> $DIR/malformed-interpolated.rs:13:8
3   |
4LL | check!(0u8);
5   |        ^^^
6   |
7   = help: instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
8
9error: unexpected token: `-0`
10  --> $DIR/malformed-interpolated.rs:5:25
11   |
12LL |         #[rustc_dummy = $expr]
13   |                         ^^^^^
14...
15LL | check!(-0); // ERROR, see above
16   | ----------- in this macro invocation
17   |
18   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
19
20error: unexpected token: `0 + 0`
21  --> $DIR/malformed-interpolated.rs:5:25
22   |
23LL |         #[rustc_dummy = $expr]
24   |                         ^^^^^
25...
26LL | check!(0 + 0); // ERROR, see above
27   | -------------- in this macro invocation
28   |
29   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
30
31error: aborting due to 3 previous errors
32