fork/rust

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

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

master
656 B19 linesraw
1error: `<` is interpreted as a start of generic arguments for `u32`, not a comparison
2  --> $DIR/issue-42954.rs:7:19
3   |
4LL |         $i as u32 < 0
5   |                   ^ - interpreted as generic arguments
6   |                   |
7   |                   not interpreted as comparison
8...
9LL |     is_plainly_printable!(c);
10   |     ------------------------ in this macro invocation
11   |
12   = note: this error originates in the macro `is_plainly_printable` (in Nightly builds, run with -Z macro-backtrace for more info)
13help: try comparing the cast value
14   |
15LL |         ($i as u32) < 0
16   |         +         +
17
18error: aborting due to previous error
19