diff --git a/compiler/rustc_macros/src/lib.rs b/compiler/rustc_macros/src/lib.rs index eff2581979df..e685545deb7e 100644 --- a/compiler/rustc_macros/src/lib.rs +++ b/compiler/rustc_macros/src/lib.rs @@ -11,11 +11,11 @@ mod current_version; mod diagnostics; mod extension; -mod hash_stable; mod lift; mod print_attribute; mod query; mod serialize; +mod stable_hash; mod symbols; mod type_foldable; mod type_visitable; @@ -59,10 +59,10 @@ pub fn extension(attr: TokenStream, input: TokenStream) -> TokenStream { } decl_derive!( - [StableHash, attributes(stable_hasher)] => hash_stable::hash_stable_derive + [StableHash, attributes(stable_hasher)] => stable_hash::hash_stable_derive ); decl_derive!( - [StableHash_NoContext, attributes(stable_hasher)] => hash_stable::hash_stable_no_context_derive + [StableHash_NoContext, attributes(stable_hasher)] => stable_hash::hash_stable_no_context_derive ); // Encoding and Decoding derives diff --git a/compiler/rustc_macros/src/hash_stable.rs b/compiler/rustc_macros/src/stable_hash.rs similarity index 100% rename from compiler/rustc_macros/src/hash_stable.rs rename to compiler/rustc_macros/src/stable_hash.rs