File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
3434LL | b'é';
3535 | ^
3636
37- error: unterminated byte constant
37+ error[E0763] : unterminated byte constant
3838 --> $DIR/byte-literals.rs:11:6
3939 |
4040LL | b'a
4141 | ^^^^
4242
4343error: aborting due to 7 previous errors
4444
45+ For more information about this error, try `rustc --explain E0763`.
You can’t perform that action at this time.
0 commit comments