]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-42954.stderr
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-42954.stderr
1 error: `<` is interpreted as a start of generic arguments for `u32`, not a comparison
2   --> $DIR/issue-42954.rs:7:19
3    |
4 LL |         $i as u32 < 0
5    |                   ^ - interpreted as generic arguments
6    |                   |
7    |                   not interpreted as comparison
8 ...
9 LL |     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)
13 help: try comparing the cast value
14    |
15 LL |         ($i as u32) < 0
16    |         +         +
17
18 error: aborting due to previous error
19