X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_target%2Fsrc%2Flib.rs;h=b69a0a645a415913909e0dd127bff1485cfbb770;hb=db2850c1fb959823f1473af5444a0835109e3125;hp=aaba0d7f093ae0c33b1e3f11078b157f5beffd43;hpb=0b3e75e1cdc8d56fc5540e17450d96228b26e268;p=rust.git diff --git a/compiler/rustc_target/src/lib.rs b/compiler/rustc_target/src/lib.rs index aaba0d7f093..b69a0a645a4 100644 --- a/compiler/rustc_target/src/lib.rs +++ b/compiler/rustc_target/src/lib.rs @@ -35,10 +35,7 @@ #[cfg(test)] mod tests; -/// 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 {} +pub use rustc_abi::HashStableContext; /// The name of rustc's own place to organize libraries. ///