From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/parser/byte-string-literals.rs | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/test/ui/parser/byte-string-literals.rs (limited to 'src/test/ui/parser/byte-string-literals.rs') diff --git a/src/test/ui/parser/byte-string-literals.rs b/src/test/ui/parser/byte-string-literals.rs deleted file mode 100644 index 30a4f50c4..000000000 --- a/src/test/ui/parser/byte-string-literals.rs +++ /dev/null @@ -1,9 +0,0 @@ -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 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 -} -- cgit v1.2.3