about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/coherence/orphan.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-08 16:40:46 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-05-13 08:04:47 +1000
commitf59348ff096fcea61e71f7249ad0fefda92fa53b (patch)
tree9e42bf8c41f17bf28003eeb65a2d2e6bf4a03ce1 /compiler/rustc_hir_analysis/src/coherence/orphan.rs
parent4497d345a8196554021f6d145b86bfc814c954d3 (diff)
downloadrust-f59348ff096fcea61e71f7249ad0fefda92fa53b.tar.gz
rust-f59348ff096fcea61e71f7249ad0fefda92fa53b.zip
Remove `extern crate rustc_middle` from `rustc_hir_analysis`.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/coherence/orphan.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/coherence/orphan.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/coherence/orphan.rs b/compiler/rustc_hir_analysis/src/coherence/orphan.rs
index 8e1b2e8e65c..bdac0d9b0b4 100644
--- a/compiler/rustc_hir_analysis/src/coherence/orphan.rs
+++ b/compiler/rustc_hir_analysis/src/coherence/orphan.rs
@@ -10,6 +10,7 @@ use rustc_lint_defs::builtin::UNCOVERED_PARAM_IN_PROJECTION;
 use rustc_middle::ty::{self, Ty, TyCtxt};
 use rustc_middle::ty::{TypeFoldable, TypeFolder, TypeSuperFoldable};
 use rustc_middle::ty::{TypeSuperVisitable, TypeVisitable, TypeVisitableExt, TypeVisitor};
+use rustc_middle::{bug, span_bug};
 use rustc_span::def_id::{DefId, LocalDefId};
 use rustc_trait_selection::traits::{self, IsFirstInputType, UncoveredTyParams};
 use rustc_trait_selection::traits::{OrphanCheckErr, OrphanCheckMode};