diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-06-17 23:55:22 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-06-18 10:48:56 +0300 |
| commit | 2de2278f1a356cba63300cee0bca49ad8f4905ab (patch) | |
| tree | 31498fa62f1bc1eddf0d307bb6430d091016855a /src/librustc | |
| parent | 8ec502eecdccec643ae6631a323dc6f38b490269 (diff) | |
syntax: Move `default_transparency` into `ExpnInfo`
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/ich/impls_syntax.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index 4f618457d6c..9430661f75a 100644 --- a/src/librustc/ich/impls_syntax.rs +++ b/src/librustc/ich/impls_syntax.rs @@ -391,10 +391,17 @@ impl_stable_hash_for!(enum ::syntax::ast::MetaItemKind { NameValue(lit) }); +impl_stable_hash_for!(enum ::syntax_pos::hygiene::Transparency { + Transparent, + SemiTransparent, + Opaque, +}); + impl_stable_hash_for!(struct ::syntax_pos::hygiene::ExpnInfo { call_site, - def_site, format, + def_site, + default_transparency, allow_internal_unstable, allow_internal_unsafe, local_inner_macros, |
