We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a19dfb5 commit bad252cCopy full SHA for bad252c
src/test/ui/parser/byte-literals.rs
@@ -8,5 +8,5 @@ pub fn main() {
8
b' '; //~ ERROR byte constant must be escaped
9
b'''; //~ ERROR byte constant must be escaped
10
b'é'; //~ ERROR byte constant must be ASCII
11
- b'a //~ ERROR unterminated byte constant
+ b'a //~ ERROR unterminated byte constant [E0763]
12
}
src/test/ui/parser/byte-literals.stderr
@@ -34,11 +34,12 @@ error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
34
LL | b'é';
35
| ^
36
37
-error: unterminated byte constant
+error[E0763]: unterminated byte constant
38
--> $DIR/byte-literals.rs:11:6
39
|
40
LL | b'a
41
| ^^^^
42
43
error: aborting due to 7 previous errors
44
45
+For more information about this error, try `rustc --explain E0763`.
0 commit comments