This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
rust-clippy
Watch
2
Star
0
Fork
You've already forked rust-clippy
0
mirror of
https://github.com/rust-lang/rust-clippy
synced
2024-11-24 05:33:27 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
2c525fd758
rust-clippy
/
tests
/
ui
/
crashes
/
ice-3891.rs
5 lines
76 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix ICE in decimal_literal_representation lint 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
2019-04-08 20:06:02 +00:00
fn
main
(
)
{
1
x
;
Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup
2023-08-24 19:32:12 +00:00
//~^ ERROR: invalid suffix `x` for number literal
Fix ICE in decimal_literal_representation lint 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
2019-04-08 20:06:02 +00:00
}
Reference in a new issue
Copy permalink