diff options
| author | Lymia Aluysia <lymia@lymiahugs.com> | 2018-03-09 23:56:40 -0600 |
|---|---|---|
| committer | Lymia Aluysia <lymia@lymiahugs.com> | 2018-03-18 10:07:19 -0500 |
| commit | fad1648e0f8299a8b108f85c2b1055eb37bdab9e (patch) | |
| tree | 1a54c05782a65c39d2a01d3afe7a210e3dbe2c2f /src/librustc/ich | |
| parent | 8aa27ee30972f16320ae4a8887c8f54616fff819 (diff) | |
| download | rust-fad1648e0f8299a8b108f85c2b1055eb37bdab9e.tar.gz rust-fad1648e0f8299a8b108f85c2b1055eb37bdab9e.zip | |
Initial implementation of RFC 2151, Raw Identifiers
Diffstat (limited to 'src/librustc/ich')
| -rw-r--r-- | src/librustc/ich/impls_syntax.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index 513b6c835f9..0b037964981 100644 --- a/src/librustc/ich/impls_syntax.rs +++ b/src/librustc/ich/impls_syntax.rs @@ -318,7 +318,10 @@ fn hash_token<'a, 'gcx, W: StableHasherResult>( opt_name.hash_stable(hcx, hasher); } - token::Token::Ident(ident) | + token::Token::Ident(ident, is_raw) => { + ident.name.hash_stable(hcx, hasher); + is_raw.hash_stable(hcx, hasher); + } token::Token::Lifetime(ident) => ident.name.hash_stable(hcx, hasher), token::Token::Interpolated(_) => { |
