]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/byte-string-literals.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / byte-string-literals.rs
index 8d8ee4da987176134799b5835c1c5ea3d91f4ae1..30a4f50c4e40b694cb5152627f0a1987c814dd5f 100644 (file)
@@ -1,10 +1,9 @@
-// compile-flags: -Z continue-parse-after-error
-
 static FOO: &'static [u8] = b"\f";  //~ ERROR unknown byte escape
 
 pub fn main() {
     b"\f";  //~ ERROR unknown byte escape
-    b"\x0Z";  //~ ERROR invalid character in numeric character escape: Z
-    b"é";  //~ ERROR byte constant must be ASCII
+    b"\x0Z";  //~ ERROR invalid character in numeric character escape: `Z`
+    b"é";  //~ ERROR non-ASCII character in byte string literal
+    br##"é"##;  //~ ERROR non-ASCII character in raw byte string literal
     b"a  //~ ERROR unterminated double quote byte string
 }