rust/tests/ui/unpretty/bad-literal.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
179 B
Rust
Raw Normal View History

//@ compile-flags: -Zunpretty=hir
//@ check-fail
// In #100948 this caused an ICE with -Zunpretty=hir.
fn main() {
1u;
//~^ ERROR invalid suffix `u` for number literal
}