Skip to content

Commit bad252c

Browse files
Update ui tests
1 parent a19dfb5 commit bad252c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/ui/parser/byte-literals.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ pub fn main() {
88
b' '; //~ ERROR byte constant must be escaped
99
b'''; //~ ERROR byte constant must be escaped
1010
b'é'; //~ ERROR byte constant must be ASCII
11-
b'a //~ ERROR unterminated byte constant
11+
b'a //~ ERROR unterminated byte constant [E0763]
1212
}

src/test/ui/parser/byte-literals.stderr

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
3434
LL | b'é';
3535
| ^
3636

37-
error: unterminated byte constant
37+
error[E0763]: unterminated byte constant
3838
--> $DIR/byte-literals.rs:11:6
3939
|
4040
LL | b'a
4141
| ^^^^
4242

4343
error: aborting due to 7 previous errors
4444

45+
For more information about this error, try `rustc --explain E0763`.

0 commit comments

Comments
 (0)