summary refs log tree commit diff
path: root/src/test/ui/issue-42954.stderr
blob: 35995749d3bd0e469dbdbf4852313f46855e067f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: `<` is interpreted as a start of generic arguments for `u32`, not a comparison
  --> $DIR/issue-42954.rs:13:19
   |
13 |         $i as u32 < 0
   |                   ^ - interpreted as generic arguments
   |                   |
   |                   not interpreted as comparison
...
19 |     is_plainly_printable!(c);
   |     ------------------------- in this macro invocation
   |
help: if you want to compare the casted value then write:
   |
13 |         ($i as u32) < 0
   |         ^^^^^^^^^^^

error: aborting due to previous error