diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-01-18 05:20:27 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-01-18 05:20:27 +0900 |
| commit | 32662c2953bfc05e0cbef30ee51647f679bb1f4f (patch) | |
| tree | 2e2f5f0947c9d2d957f9ca41d6d962d463f7f752 /src/libsyntax/parse | |
| parent | d33ee3fefa3fad88fee81b5abb316e94c387d72e (diff) | |
| download | rust-32662c2953bfc05e0cbef30ee51647f679bb1f4f.tar.gz rust-32662c2953bfc05e0cbef30ee51647f679bb1f4f.zip | |
Change from error to invalid
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 69e934d64c6..99041fd7cd6 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -74,7 +74,7 @@ impl Lit { match *self { Byte(_) => "byte literal", Char(_) => "char literal", - Err(_) => "error literal", + Err(_) => "invalid literal", Integer(_) => "integer literal", Float(_) => "float literal", Str_(_) | StrRaw(..) => "string literal", |
