diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-13 18:05:00 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-15 06:42:48 +0000 | 
| commit | b88f85a4106ca0a53a1dab6d605cf56a0cc945ac (patch) | |
| tree | 74a1d91dcf4a109c1d9b897bf9ca5e184d4bc573 /compiler/rustc_hir_analysis/src/coherence/mod.rs | |
| parent | 19c84c8812adb7fa0e7540b5de2541a5995e901a (diff) | |
| download | rust-b88f85a4106ca0a53a1dab6d605cf56a0cc945ac.tar.gz rust-b88f85a4106ca0a53a1dab6d605cf56a0cc945ac.zip | |
Stop relying on rustc_type_ir in non-type-system crates
Diffstat (limited to 'compiler/rustc_hir_analysis/src/coherence/mod.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/coherence/mod.rs | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/compiler/rustc_hir_analysis/src/coherence/mod.rs b/compiler/rustc_hir_analysis/src/coherence/mod.rs index b5c6c2f3861..15e0a72fdcb 100644 --- a/compiler/rustc_hir_analysis/src/coherence/mod.rs +++ b/compiler/rustc_hir_analysis/src/coherence/mod.rs @@ -10,10 +10,9 @@ use rustc_errors::struct_span_code_err; use rustc_hir::LangItem; use rustc_hir::def_id::{DefId, LocalDefId}; use rustc_middle::query::Providers; -use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt}; +use rustc_middle::ty::{self, TyCtxt, TypeVisitableExt, elaborate}; use rustc_session::parse::feature_err; use rustc_span::{ErrorGuaranteed, sym}; -use rustc_type_ir::elaborate; use tracing::debug; use crate::check::always_applicable; | 
