Update ui tests

This commit is contained in:
Guillaume Gomez 2020-06-12 14:01:53 +02:00
parent a19dfb573d
commit bad252c9fa
2 changed files with 3 additions and 2 deletions

View file

@ -8,5 +8,5 @@ pub fn main() {
b' '; //~ ERROR byte constant must be escaped
b'''; //~ ERROR byte constant must be escaped
b'é'; //~ ERROR byte constant must be ASCII
b'a //~ ERROR unterminated byte constant
b'a //~ ERROR unterminated byte constant [E0763]
}

View file

@ -34,7 +34,7 @@ error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
LL | b'é';
| ^
error: unterminated byte constant
error[E0763]: unterminated byte constant
--> $DIR/byte-literals.rs:11:6
|
LL | b'a
@ -42,3 +42,4 @@ LL | b'a
error: aborting due to 7 previous errors
For more information about this error, try `rustc --explain E0763`.