rust/tests/ui/lexer/lex-bad-char-literals-2.rs

7 lines
185 B
Rust

// This test needs to the last one appearing in this file as it kills the parser
static c: char =
'nope' //~ ERROR: character literal may only contain one codepoint
;
fn main() {}