mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
0307ff020c
Handling the integer parsing properly instead of just unwrapping. Note that the test is not catching the ICE because plain UI tests [currently hide ICEs][compiletest_issue]. Once that issue is fixed, this test would fail properly again. [compiletest_issue]: https://github.com/laumann/compiletest-rs/issues/169
10 lines
245 B
Text
10 lines
245 B
Text
error: invalid suffix `x` for numeric literal
|
|
--> $DIR/ice-3891.rs:2:5
|
|
|
|
|
LL | 1x;
|
|
| ^^ invalid suffix `x`
|
|
|
|
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)
|
|
|
|
error: aborting due to previous error
|
|
|