summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_target/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_target/src/lib.rs')
-rw-r--r--compiler/rustc_target/src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_target/src/lib.rs b/compiler/rustc_target/src/lib.rs
index aaba0d7f0..b69a0a645 100644
--- a/compiler/rustc_target/src/lib.rs
+++ b/compiler/rustc_target/src/lib.rs
@@ -35,10 +35,7 @@ pub mod spec;
#[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.
///