]> git.lizzy.rs Git - rust.git/blobdiff - src/test/parse-fail/byte-string-literals.rs
Replace illegal with invalid in most diagnostics
[rust.git] / src / test / parse-fail / byte-string-literals.rs
index 7049363c21b77d2f12d51289ce0a21940b8c1426..22f123416f26e75d168e2de52b3fa0b3ff626dee 100644 (file)
@@ -17,7 +17,7 @@
 
 pub fn main() {
     b"\f";  //~ ERROR unknown byte escape
-    b"\x0Z";  //~ ERROR illegal character in numeric character escape: Z
+    b"\x0Z";  //~ ERROR invalid character in numeric character escape: Z
     b"é";  //~ ERROR byte constant must be ASCII
     b"a  //~ ERROR unterminated double quote byte string
 }