2019-01-19 23:53:28 -06:00
|
|
|
static c: char = '\x10\x10';
|
|
|
|
//~^ ERROR: character literal may only contain one codepoint
|
2019-01-06 09:33:05 -06:00
|
|
|
|
2019-01-17 14:24:17 -06:00
|
|
|
fn main() {
|
2019-01-19 23:53:28 -06:00
|
|
|
let ch: &str = '\x10\x10';
|
|
|
|
//~^ ERROR: character literal may only contain one codepoint
|
2019-01-17 14:24:17 -06:00
|
|
|
}
|