diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-06-07 12:53:33 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-06-07 18:01:50 +0300 |
| commit | 2af47facc3fd7eda3fb4e52f0589bb6f48eff15c (patch) | |
| tree | 46549007a191f5676a28704a3da1cfbd5eacdf7d /src/librustc/ich/impls_syntax.rs | |
| parent | c1c60d292e2dd2deff7084208274f9a02f750d43 (diff) | |
| download | rust-2af47facc3fd7eda3fb4e52f0589bb6f48eff15c.tar.gz rust-2af47facc3fd7eda3fb4e52f0589bb6f48eff15c.zip | |
syntax: Treat error literals in more principled way
Diffstat (limited to 'src/librustc/ich/impls_syntax.rs')
| -rw-r--r-- | src/librustc/ich/impls_syntax.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index abe4196abd1..e0c01277801 100644 --- a/src/librustc/ich/impls_syntax.rs +++ b/src/librustc/ich/impls_syntax.rs @@ -170,14 +170,14 @@ impl_stable_hash_for!(struct ::syntax::ast::Lit { impl_stable_hash_for!(enum ::syntax::ast::LitKind { Str(value, style), - Err(value), ByteStr(value), Byte(value), Char(value), Int(value, lit_int_type), Float(value, float_ty), FloatUnsuffixed(value), - Bool(value) + Bool(value), + Err(value) }); impl_stable_hash_for_spanned!(::syntax::ast::LitKind); |
