]> git.lizzy.rs Git - rust.git/blob - src/test/ui/malformed/malformed-interpolated.stderr
Auto merge of #103903 - matthiaskrgr:rollup-r5xcvrp, r=matthiaskrgr
[rust.git] / src / test / ui / malformed / malformed-interpolated.stderr
1 error: suffixed literals are not allowed in attributes
2   --> $DIR/malformed-interpolated.rs:12:8
3    |
4 LL | 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
9 error: unexpected expression: `-0`
10   --> $DIR/malformed-interpolated.rs:13:8
11    |
12 LL | check!(-0);
13    |        ^^
14
15 error: unexpected expression: `0 + 0`
16   --> $DIR/malformed-interpolated.rs:14:8
17    |
18 LL | check!(0 + 0);
19    |        ^^^^^
20
21 error: aborting due to 3 previous errors
22