1 // compile-flags: -Z continue-parse-after-error
5 //~^ ERROR unicode escape sequences cannot be used as a byte or in a byte string
8 //~^ ERROR unicode escape sequences cannot be used as a byte or in a byte string
11 //~^ ERROR incorrect unicode escape sequence
14 //~^ ERROR numeric character escape is too short
17 //~^ ERROR invalid character in numeric character escape: x
20 //~^ ERROR numeric character escape is too short
23 //~^ ERROR invalid character in numeric character escape: x
25 let _ = b"\u{a4a4} \xf \u";
26 //~^ ERROR unicode escape sequences cannot be used as a byte or in a byte string
27 //~^^ ERROR invalid character in numeric character escape:
28 //~^^^ ERROR incorrect unicode escape sequence
31 //~^ ERROR invalid character in numeric character escape:
32 //~^^ ERROR incorrect unicode escape sequence
35 //~^ ERROR incorrect unicode escape sequence