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
11 lines
245 B
Plaintext
11 lines
245 B
Plaintext
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
|
|
|