Rename rustc_macros::hash_stable as stable_hash.

Part of MCP 983.
This commit is contained in:
Nicholas Nethercote
2026-05-01 16:29:44 +10:00
parent 33cd10a881
commit fd7da21c53
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -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