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/specialize/mod.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/specialize/mod.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/specialize/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/specialize/mod.rs b/compiler/rustc_trait_selection/src/traits/specialize/mod.rs index fe3f66f3a3f..826bb706f48 100644 --- a/compiler/rustc_trait_selection/src/traits/specialize/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/specialize/mod.rs @@ -23,6 +23,7 @@ use crate::traits::{ use rustc_data_structures::fx::FxIndexSet; use rustc_errors::{codes::*, DelayDm, Diag, EmissionGuarantee}; use rustc_hir::def_id::{DefId, LocalDefId}; +use rustc_middle::bug; use rustc_middle::ty::{self, ImplSubject, Ty, TyCtxt, TypeVisitableExt}; use rustc_middle::ty::{GenericArgs, GenericArgsRef}; use rustc_session::lint::builtin::COHERENCE_LEAK_CHECK; |
