fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
540 B22 linesraw
1error: suffixed literals are not allowed in attributes
2  --> $DIR/malformed-interpolated.rs:12: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 expression: `-0`
10  --> $DIR/malformed-interpolated.rs:13:8
11   |
12LL | check!(-0);
13   |        ^^
14
15error: unexpected expression: `0 + 0`
16  --> $DIR/malformed-interpolated.rs:14:8
17   |
18LL | check!(0 + 0);
19   |        ^^^^^
20
21error: aborting due to 3 previous errors
22