diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-09 08:06:59 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-13 08:20:18 +1000 |
| commit | 4bf20b2b558289e9dcffd496890df116f98612c7 (patch) | |
| tree | e31a090dc6deca2c7047a12a76c0bb09d4c0e4ff /compiler/rustc_trait_selection/src/traits/util.rs | |
| parent | 573aa9f677b8f6cd9efd0da41a9bed282e4bcba0 (diff) | |
| download | rust-4bf20b2b558289e9dcffd496890df116f98612c7.tar.gz rust-4bf20b2b558289e9dcffd496890df116f98612c7.zip | |
Remove `extern crate rustc_middle` from `rustc_trait_selection`.
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/util.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/util.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/util.rs b/compiler/rustc_trait_selection/src/traits/util.rs index b2ba7854f18..83edddb9a96 100644 --- a/compiler/rustc_trait_selection/src/traits/util.rs +++ b/compiler/rustc_trait_selection/src/traits/util.rs @@ -6,6 +6,7 @@ use rustc_data_structures::fx::{FxHashSet, FxIndexMap}; use rustc_errors::Diag; use rustc_hir::def_id::DefId; use rustc_infer::infer::{InferCtxt, InferOk}; +use rustc_middle::bug; use rustc_middle::ty::GenericArgsRef; use rustc_middle::ty::{self, ImplSubject, ToPredicate, Ty, TyCtxt, TypeVisitableExt}; use rustc_middle::ty::{TypeFoldable, TypeFolder, TypeSuperFoldable}; |
