diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-14 03:02:03 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-10-03 16:08:51 +0200 |
| commit | 8961616e6004e204327f575081509b049268762b (patch) | |
| tree | 06316b86ee9c02ab0c55aee421c98d9dff7b24cc /compiler/rustc_passes/src | |
| parent | b66dfaaa6428314066307cfc76f2f3e140555db8 (diff) | |
| download | rust-8961616e6004e204327f575081509b049268762b.tar.gz rust-8961616e6004e204327f575081509b049268762b.zip | |
Move rustc_middle::middle::cstore to rustc_session.
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/lang_items.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_passes/src/lang_items.rs b/compiler/rustc_passes/src/lang_items.rs index c14f4460a31..388c33917c6 100644 --- a/compiler/rustc_passes/src/lang_items.rs +++ b/compiler/rustc_passes/src/lang_items.rs @@ -10,9 +10,6 @@ use crate::check_attr::target_from_impl_item; use crate::weak_lang_items; -use rustc_middle::middle::cstore::ExternCrate; -use rustc_middle::ty::TyCtxt; - use rustc_ast::Attribute; use rustc_errors::{pluralize, struct_span_err}; use rustc_hir as hir; @@ -20,6 +17,8 @@ use rustc_hir::def_id::DefId; use rustc_hir::itemlikevisit::ItemLikeVisitor; use rustc_hir::lang_items::{extract, GenericRequirement, ITEM_REFS}; use rustc_hir::{HirId, LangItem, LanguageItems, Target}; +use rustc_middle::ty::TyCtxt; +use rustc_session::cstore::ExternCrate; use rustc_span::Span; use rustc_middle::ty::query::Providers; |
