]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-3.rs
Rollup merge of #56874 - JohnHeitmann:docs-spacing, r=GuillaumeGomez
[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() {}