diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-08 16:40:46 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-13 08:04:47 +1000 |
| commit | f59348ff096fcea61e71f7249ad0fefda92fa53b (patch) | |
| tree | 9e42bf8c41f17bf28003eeb65a2d2e6bf4a03ce1 /compiler/rustc_hir_analysis/src/check/mod.rs | |
| parent | 4497d345a8196554021f6d145b86bfc814c954d3 (diff) | |
| download | rust-f59348ff096fcea61e71f7249ad0fefda92fa53b.tar.gz rust-f59348ff096fcea61e71f7249ad0fefda92fa53b.zip | |
Remove `extern crate rustc_middle` from `rustc_hir_analysis`.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/check/mod.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/mod.rs b/compiler/rustc_hir_analysis/src/check/mod.rs index eb0ffc19d45..9c5c0a766b4 100644 --- a/compiler/rustc_hir_analysis/src/check/mod.rs +++ b/compiler/rustc_hir_analysis/src/check/mod.rs @@ -90,6 +90,7 @@ use rustc_middle::query::Providers; use rustc_middle::ty::error::{ExpectedFound, TypeError}; use rustc_middle::ty::{self, Ty, TyCtxt}; use rustc_middle::ty::{GenericArgs, GenericArgsRef}; +use rustc_middle::{bug, span_bug}; use rustc_session::parse::feature_err; use rustc_span::symbol::{kw, sym, Ident}; use rustc_span::{def_id::CRATE_DEF_ID, BytePos, Span, Symbol, DUMMY_SP}; |
