diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2019-05-23 13:10:11 -0500 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2019-06-02 22:50:03 -0500 |
| commit | 3287ddf937d873f8a4e5dbbd0fe2937904dfdd88 (patch) | |
| tree | 05c700ad0e92c6617c11951b494d800db15cc689 /src/librustc_codegen_llvm | |
| parent | 594068955399264cd8f12b9abfa18c35662bc07f (diff) | |
| download | rust-3287ddf937d873f8a4e5dbbd0fe2937904dfdd88.tar.gz rust-3287ddf937d873f8a4e5dbbd0fe2937904dfdd88.zip | |
remove reexports of mir::mono::{MonoItem,CodegenUnit}
Diffstat (limited to 'src/librustc_codegen_llvm')
| -rw-r--r-- | src/librustc_codegen_llvm/consts.rs | 1 | ||||
| -rw-r--r-- | src/librustc_codegen_llvm/context.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/consts.rs b/src/librustc_codegen_llvm/consts.rs index f7a06a9b23c..c05a7a35665 100644 --- a/src/librustc_codegen_llvm/consts.rs +++ b/src/librustc_codegen_llvm/consts.rs @@ -10,6 +10,7 @@ use libc::c_uint; use rustc::hir::def_id::DefId; use rustc::mir::interpret::{ConstValue, Allocation, read_target_uint, Pointer, ErrorHandled, GlobalId}; +use rustc::mir::mono::MonoItem; use rustc::hir::Node; use syntax_pos::Span; use rustc_target::abi::HasDataLayout; diff --git a/src/librustc_codegen_llvm/context.rs b/src/librustc_codegen_llvm/context.rs index f863d91e17c..ead9bad656d 100644 --- a/src/librustc_codegen_llvm/context.rs +++ b/src/librustc_codegen_llvm/context.rs @@ -5,12 +5,12 @@ use crate::value::Value; use rustc::dep_graph::DepGraphSafe; use rustc::hir; -use crate::monomorphize::partitioning::CodegenUnit; use crate::type_::Type; use rustc_codegen_ssa::traits::*; use rustc_data_structures::base_n; use rustc_data_structures::small_c_str::SmallCStr; +use rustc::mir::mono::CodegenUnit; use rustc::session::config::{self, DebugInfo}; use rustc::session::Session; use rustc::ty::layout::{ |
