blob: 0c4339edc4fa7f9d17dea6da00e97f56d0b941ed (
plain)
1
2
3
4
5
6
7
|
static c: char = '\x10\x10';
//~^ ERROR: character literal may only contain one codepoint
fn main() {
let ch: &str = '\x10\x10';
//~^ ERROR: character literal may only contain one codepoint
}
|