Remove extern crate rustc_middle from rustc_hir_analysis.

This commit is contained in:
Nicholas Nethercote
2024-05-08 16:40:46 +10:00
parent 4497d345a8
commit f59348ff09
28 changed files with 27 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ use rustc_middle::ty::{
self, GenericArgs, Ty, TypeFoldable, TypeFolder, TypeSuperFoldable, TypeVisitableExt,
};
use rustc_middle::ty::{GenericParamDefKind, TyCtxt};
use rustc_middle::{bug, span_bug};
use rustc_span::Span;
use rustc_trait_selection::regions::InferCtxtRegionExt;
use rustc_trait_selection::traits::error_reporting::TypeErrCtxtExt;