diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-09 14:08:10 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-11 11:30:38 -0800 |
| commit | 52edb2ecc9530264dc75babe477fd75c64feac04 (patch) | |
| tree | 7110ee1e9e8b123ffdd8be4dd1e9b6213b9cb08c /src/test | |
| parent | b25e100173effba685d076cee16f8af150078617 (diff) | |
| download | rust-52edb2ecc9530264dc75babe477fd75c64feac04.tar.gz rust-52edb2ecc9530264dc75babe477fd75c64feac04.zip | |
Register new snapshots
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/lex-bad-char-literals.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/compile-fail/lex-bad-char-literals.rs b/src/test/compile-fail/lex-bad-char-literals.rs index 0eaa81bd6ab..fbe03e355ee 100644 --- a/src/test/compile-fail/lex-bad-char-literals.rs +++ b/src/test/compile-fail/lex-bad-char-literals.rs @@ -10,10 +10,12 @@ 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 = @@ -22,8 +24,9 @@ static c3: char = static c4: char = '\u23q' //~ ERROR: illegal character in numeric character escape + //~^ WARNING: \uABCD escapes are deprecated ; -//~^^ ERROR: numeric character escape is too short +//~^^^ ERROR: numeric character escape is too short static s: &'static str = "\x1" //~ ERROR: numeric character escape is too short @@ -32,6 +35,7 @@ static s: &'static str = 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 = |
