]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-3.rs
Auto merge of #57835 - pnkfelix:issue-57673-remove-leaky-nested-probe, r=arielb1
[rust.git] / src / test / ui / parser / 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 }