rust/src/test/ui/issue-42954.stderr

15 lines
547 B
Plaintext
Raw Normal View History

error: `<` is interpreted as a start of generic arguments for `u32`, not a comparison
--> $DIR/issue-42954.rs:13:19
|
2017-11-20 06:13:27 -06:00
13 | $i as u32 < 0 //~ `<` is interpreted as a start of generic arguments
| --------- ^ - interpreted as generic arguments
| | |
| | not interpreted as comparison
| help: try comparing the casted value: `($i as u32)`
...
19 | is_plainly_printable!(c);
| ------------------------- in this macro invocation
error: aborting due to previous error