rust/tests/ui/parser/new-unicode-escapes-3.rs
2023-01-11 09:32:08 +00:00

5 lines
156 B
Rust

pub fn main() {
let s1 = "\u{d805}"; //~ ERROR invalid unicode character escape
let s2 = "\u{ffffff}"; //~ ERROR invalid unicode character escape
}