about summary refs log tree commit diff
path: root/src/test/parse-fail/byte-string-literals.rs
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-07-27 03:49:38 +0300
committerSimonas Kazlauskas <git@kazlauskas.me>2015-07-29 01:59:31 +0300
commitcca0ea718d363acb85e075aee41223f4da009e82 (patch)
tree7c5686962bd85a27ff754f57a107b60086aac3b3 /src/test/parse-fail/byte-string-literals.rs
parentffcdf0881b37340c9c90bdfd8b96149090a62378 (diff)
downloadrust-cca0ea718d363acb85e075aee41223f4da009e82.tar.gz
rust-cca0ea718d363acb85e075aee41223f4da009e82.zip
Replace illegal with invalid in most diagnostics
Diffstat (limited to 'src/test/parse-fail/byte-string-literals.rs')
-rw-r--r--src/test/parse-fail/byte-string-literals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/byte-string-literals.rs b/src/test/parse-fail/byte-string-literals.rs
index 7049363c21b..22f123416f2 100644
--- a/src/test/parse-fail/byte-string-literals.rs
+++ b/src/test/parse-fail/byte-string-literals.rs
@@ -17,7 +17,7 @@ static FOO: &'static [u8] = b"\f";  //~ ERROR unknown byte escape
 
 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
 }