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

5 lines
113 B
Rust

//@ run-rustfix
fn main() {
println!(' 1 + 1'); //~ ERROR character literal may only contain one codepoint
}