rust/tests/ui/lexer/lex-bad-str-literal-as-char-3.rs

8 lines
213 B
Rust

//@ revisions: rust2015 rust2018 rust2021
//@[rust2018] edition:2018
//@[rust2021] edition:2021
fn main() {
println!('hello world');
//[rust2015,rust2018,rust2021]~^ ERROR unterminated character literal
}