mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Rename rustc_macros::hash_stable as stable_hash.
Part of MCP 983.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user