1
Fork 0

compiler: remove rustc_target reexport of rustc_abi::HashStableContext

The last public reexport of rustc_abi in rustc_target is finally gone.
This commit is contained in:
Jubilee Young 2025-02-09 23:55:16 -08:00
parent d9c7abba55
commit 038c183d5f
6 changed files with 5 additions and 9 deletions

View file

@ -10,9 +10,7 @@ use crate::hir_id::{HirId, ItemLocalId};
/// 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 `rustc_middle`.
pub trait HashStableContext:
rustc_ast::HashStableContext + rustc_target::HashStableContext
{
pub trait HashStableContext: rustc_ast::HashStableContext + rustc_abi::HashStableContext {
fn hash_attr(&mut self, _: &Attribute, hasher: &mut StableHasher);
}