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 --- .../parser/issues/issue-23620-invalid-escapes.rs | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/test/ui/parser/issues/issue-23620-invalid-escapes.rs (limited to 'src/test/ui/parser/issues/issue-23620-invalid-escapes.rs') diff --git a/src/test/ui/parser/issues/issue-23620-invalid-escapes.rs b/src/test/ui/parser/issues/issue-23620-invalid-escapes.rs deleted file mode 100644 index c1355f0d6..000000000 --- a/src/test/ui/parser/issues/issue-23620-invalid-escapes.rs +++ /dev/null @@ -1,34 +0,0 @@ -fn main() { - let _ = b"\u{a66e}"; - //~^ ERROR unicode escape in byte string - - let _ = b'\u{a66e}'; - //~^ ERROR unicode escape in byte string - - let _ = b'\u'; - //~^ ERROR incorrect unicode escape sequence - - let _ = b'\x5'; - //~^ ERROR numeric character escape is too short - - let _ = b'\xxy'; - //~^ ERROR invalid character in numeric character escape: `x` - - let _ = '\x5'; - //~^ ERROR numeric character escape is too short - - let _ = '\xxy'; - //~^ ERROR invalid character in numeric character escape: `x` - - let _ = b"\u{a4a4} \xf \u"; - //~^ ERROR unicode escape in byte string - //~^^ ERROR invalid character in numeric character escape: ` ` - //~^^^ ERROR incorrect unicode escape sequence - - let _ = "\xf \u"; - //~^ ERROR invalid character in numeric character escape: ` ` - //~^^ ERROR incorrect unicode escape sequence - - let _ = "\u8f"; - //~^ ERROR incorrect unicode escape sequence -} -- cgit v1.2.3