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() {
8
8
b' ' ; //~ ERROR byte constant must be escaped
9
9
b'' ' ; //~ ERROR byte constant must be escaped
10
10
b'é' ; //~ ERROR byte constant must be ASCII
11
- b' a //~ ERROR unterminated byte constant
11
+ b' a //~ ERROR unterminated byte constant [E0763]
12
12
}
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
34
34
LL | b'é';
35
35
| ^
36
36
37
- error: unterminated byte constant
37
+ error[E0763] : unterminated byte constant
38
38
--> $DIR/byte-literals.rs:11:6
39
39
|
40
40
LL | b'a
41
41
| ^^^^
42
42
43
43
error: aborting due to 7 previous errors
44
44
45
+ For more information about this error, try `rustc --explain E0763`.
You can’t perform that action at this time.
0 commit comments