about summary refs log tree commit diff
path: root/tests/ui/lexer/lex-bad-str-literal-as-char-1.rs
blob: 6548792f33b4fee4edecd159285791173166fd92 (plain)
1
2
3
4
5
6
//@ run-rustfix
fn main() {
    println!('1 + 1');
    //~^ ERROR unterminated character literal
    //~| ERROR lifetimes cannot start with a number
}