]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_hir/stable_hash_impls.rs
Auto merge of #69482 - lqd:poloniusup, r=nikomatsakis
[rust.git] / src / librustc_hir / stable_hash_impls.rs
index e8407b537011bf64655ce230cca5c6161150749c..3938a0369b924cb8ae19c3b7c425ea0a85447b98 100644 (file)
@@ -6,7 +6,9 @@
 /// Requirements for a `StableHashingContext` to be used in this crate.
 /// This is a hack to allow using the `HashStable_Generic` derive macro
 /// instead of implementing everything in librustc.
-pub trait HashStableContext: syntax::HashStableContext + rustc_target::HashStableContext {
+pub trait HashStableContext:
+    rustc_ast::HashStableContext + rustc_target::HashStableContext
+{
     fn hash_hir_id(&mut self, _: HirId, hasher: &mut StableHasher);
     fn hash_body_id(&mut self, _: BodyId, hasher: &mut StableHasher);
     fn hash_reference_to_item(&mut self, _: HirId, hasher: &mut StableHasher);