13
13
//! but one llvm::Type corresponds to many `Ty`s; for instance, tup(int, int,
14
14
//! int) and rec(x=int, y=int, z=int) will have the same llvm::Type.
15
15
16
- use { ModuleCodegen , ModuleKind , CachedModuleCodegen } ;
16
+ use crate :: { ModuleCodegen , ModuleKind , CachedModuleCodegen } ;
17
17
18
18
use rustc:: dep_graph:: cgu_reuse_tracker:: CguReuse ;
19
19
use rustc:: hir:: def_id:: { CrateNum , DefId , LOCAL_CRATE } ;
@@ -28,26 +28,26 @@ use rustc::util::common::{time, print_time_passes_entry};
28
28
use rustc:: util:: profiling:: ProfileCategory ;
29
29
use rustc:: session:: config:: { self , EntryFnType , Lto } ;
30
30
use rustc:: session:: Session ;
31
- use mir:: place:: PlaceRef ;
32
- use back:: write:: { OngoingCodegen , start_async_codegen, submit_pre_lto_module_to_llvm,
33
- submit_post_lto_module_to_llvm} ;
34
- use { MemFlags , CrateInfo } ;
35
- use callee;
36
31
use rustc_mir:: monomorphize:: item:: DefPathBasedNames ;
37
- use common:: { RealPredicate , TypeKind , IntPredicate } ;
38
- use meth;
39
- use mir;
40
32
use rustc:: util:: time_graph;
41
33
use rustc_mir:: monomorphize:: Instance ;
42
34
use rustc_mir:: monomorphize:: partitioning:: { CodegenUnit , CodegenUnitExt } ;
43
- use mono_item:: MonoItem ;
44
35
use rustc:: util:: nodemap:: FxHashMap ;
45
36
use rustc_data_structures:: indexed_vec:: Idx ;
46
37
use rustc_data_structures:: sync:: Lrc ;
47
38
use rustc_codegen_utils:: { symbol_names_test, check_for_rustc_errors_attr} ;
48
39
use rustc:: ty:: layout:: { FAT_PTR_ADDR , FAT_PTR_EXTRA } ;
40
+ use crate :: mir:: place:: PlaceRef ;
41
+ use crate :: back:: write:: { OngoingCodegen , start_async_codegen, submit_pre_lto_module_to_llvm,
42
+ submit_post_lto_module_to_llvm} ;
43
+ use crate :: { MemFlags , CrateInfo } ;
44
+ use crate :: callee;
45
+ use crate :: common:: { RealPredicate , TypeKind , IntPredicate } ;
46
+ use crate :: meth;
47
+ use crate :: mir;
48
+ use crate :: mono_item:: MonoItem ;
49
49
50
- use traits:: * ;
50
+ use crate :: traits:: * ;
51
51
52
52
use std:: any:: Any ;
53
53
use std:: cmp;
@@ -58,7 +58,7 @@ use syntax_pos::Span;
58
58
use syntax:: attr;
59
59
use rustc:: hir;
60
60
61
- use mir:: operand:: OperandValue ;
61
+ use crate :: mir:: operand:: OperandValue ;
62
62
63
63
use std:: marker:: PhantomData ;
64
64
0 commit comments