Skip to content

Commit 32662c2

Browse files
committed
Change from error to invalid
1 parent d33ee3f commit 32662c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl Lit {
7474
match *self {
7575
Byte(_) => "byte literal",
7676
Char(_) => "char literal",
77-
Err(_) => "error literal",
77+
Err(_) => "invalid literal",
7878
Integer(_) => "integer literal",
7979
Float(_) => "float literal",
8080
Str_(_) | StrRaw(..) => "string literal",

0 commit comments

Comments
 (0)