Unnamed repository; edit this file 'description' to name the repository.
Rename the `HashStable*` trait/derives as `StableHash*`.
Specifically: - `HashStable` -> `StableHash` (trait) - `HashStable` -> `StableHash` (derive) - `HashStable_NoContext` -> `StableHash_NoContext` (derive) Note: there are some names in `compiler/rustc_macros/src/hash_stable.rs` that are still to be renamed, e.g. `HashStableMode`. Part of MCP 983.
Nicholas Nethercote 3 weeks ago
parent 532482c · commit 0214222
-rw-r--r--crates/hir-ty/src/next_solver/interner.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/next_solver/interner.rs b/crates/hir-ty/src/next_solver/interner.rs
index 4095dbe47d..cfb55e2e00 100644
--- a/crates/hir-ty/src/next_solver/interner.rs
+++ b/crates/hir-ty/src/next_solver/interner.rs
@@ -454,7 +454,7 @@ impl VariantDef {
/*
/// Definition of a variant -- a struct's fields or an enum variant.
-#[derive(Debug, HashStable, TyEncodable, TyDecodable)]
+#[derive(Debug, StableHash, TyEncodable, TyDecodable)]
pub struct VariantDef {
/// `DefId` that identifies the variant itself.
/// If this variant belongs to a struct or union, then this is a copy of its `DefId`.