about summary refs log tree commit diff
path: root/src/test/parse-fail
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-06 13:57:44 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-03-06 14:11:09 -0800
commit39e2c6954171fafeabf29a71fba96f161577d9fa (patch)
tree5933b51e21c07337f30540cb0f4daa4567e42e33 /src/test/parse-fail
parent1fe8f221450bad3ffb1351c6549f67c18ce0b94e (diff)
downloadrust-39e2c6954171fafeabf29a71fba96f161577d9fa.tar.gz
rust-39e2c6954171fafeabf29a71fba96f161577d9fa.zip
syntax: Remove deprecated unicode escapes
These have been deprecated for quite some time, so we should be good to remove
them now.
Diffstat (limited to 'src/test/parse-fail')
-rw-r--r--src/test/parse-fail/lex-bad-char-literals.rs22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/parse-fail/lex-bad-char-literals.rs b/src/test/parse-fail/lex-bad-char-literals.rs
index fbe03e355ee..4aa01bcde69 100644
--- a/src/test/parse-fail/lex-bad-char-literals.rs
+++ b/src/test/parse-fail/lex-bad-char-literals.rs
@@ -8,36 +8,14 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-static c: char =
-    '\u539_' //~ ERROR: illegal character in numeric character escape
-    //~^ WARNING: \uABCD escapes are deprecated
-;
-
-static c2: char =
-    '\Uffffffff' //~ ERROR: illegal numeric character escape
-    //~^ WARNING: \uABCD escapes are deprecated
-;
-
 static c3: char =
     '\x1' //~ ERROR: numeric character escape is too short
 ;
 
-static c4: char =
-    '\u23q' //~  ERROR: illegal character in numeric character escape
-    //~^ WARNING: \uABCD escapes are deprecated
-;
-//~^^^ ERROR: numeric character escape is too short
-
 static s: &'static str =
     "\x1" //~ ERROR: numeric character escape is too short
 ;
 
-static s2: &'static str =
-    "\u23q" //~ ERROR: illegal character in numeric character escape
-    //~^ ERROR: numeric character escape is too short
-    //~^^ WARNING: \uABCD escapes are deprecated
-;
-
 static c: char =
     '\●' //~ ERROR: unknown character escape
 ;