]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/ascii-only-character-escape.rs
Point (again) to more expressions with their type, even if not fully resolved
[rust.git] / src / test / ui / parser / ascii-only-character-escape.rs
1 fn main() {
2     let x = "\x80"; //~ ERROR out of range hex escape
3     let y = "\xff"; //~ ERROR out of range hex escape
4     let z = "\xe2"; //~ ERROR out of range hex escape
5     let a = b"\x00e2";  // ok because byte literal
6 }