fn main() {
- let x = "\x80"; //~ ERROR may only be used
- let y = "\xff"; //~ ERROR may only be used
- let z = "\xe2"; //~ ERROR may only be used
+ let x = "\x80"; //~ ERROR out of range hex escape
+ let y = "\xff"; //~ ERROR out of range hex escape
+ let z = "\xe2"; //~ ERROR out of range hex escape
let a = b"\x00e2"; // ok because byte literal
}