]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unpretty/bad-literal.rs
Rollup merge of #101931 - msakuta:master, r=thomcc
[rust.git] / src / test / ui / unpretty / bad-literal.rs
1 // compile-flags: -Zunpretty=hir
2 // check-fail
3
4 // In #100948 this caused an ICE with -Zunpretty=hir.
5 fn main() {
6     1u;
7     //~^ ERROR invalid suffix `u` for number literal
8 }