]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-3.rs
Auto merge of #57234 - Centril:const-stabilizations-2, r=oli-obk
[rust.git] / src / test / ui / parser / lex-bad-char-literals-3.rs
1 // This test needs to the last one appearing in this file as it kills the parser
2 static c: char =
3     '●●' //~ ERROR: character literal may only contain one codepoint
4          //~| ERROR: mismatched types
5 ;
6
7 fn main() {}