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-14 17:07:17 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
92768eeac4
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
;
Automatic generation of error annotations for ui tests
2023-07-28 19:35:48 +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