about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check/entry.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/check/entry.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/check/entry.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/check/entry.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/entry.rs b/compiler/rustc_hir_analysis/src/check/entry.rs
index d5908cf2851..e44e8e67da3 100644
--- a/compiler/rustc_hir_analysis/src/check/entry.rs
+++ b/compiler/rustc_hir_analysis/src/check/entry.rs
@@ -1,6 +1,7 @@
 use rustc_hir as hir;
 use rustc_hir::Node;
 use rustc_infer::infer::TyCtxtInferExt;
+use rustc_middle::span_bug;
 use rustc_middle::ty::{self, Ty, TyCtxt};
 use rustc_session::config::EntryFnType;
 use rustc_span::def_id::{DefId, LocalDefId, CRATE_DEF_ID};