rustc/tests/ui/lexer/lex-bad-str-literal-as-char-2.rs
2024-06-24 14:48:22 +02:00

5 lines
113 B
Rust

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