]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lexer/lex-bad-char-literals-3.rs
Rollup merge of #101952 - Mark-Simulacrum:missing-fallback, r=ehuss
[rust.git] / src / test / ui / lexer / lex-bad-char-literals-3.rs
1 static c: char = '●●';
2 //~^ ERROR: character literal may only contain one codepoint
3
4 fn main() {
5     let ch: &str = '●●';
6     //~^ ERROR: character literal may only contain one codepoint
7 }