@@ -10,9 +10,8 @@ use crate::ty::codec::{TyDecoder, TyEncoder};
10
10
use crate :: ty:: fold:: { TypeFoldable , TypeFolder , TypeVisitor } ;
11
11
use crate :: ty:: print:: { FmtPrinter , Printer } ;
12
12
use crate :: ty:: subst:: { Subst , SubstsRef } ;
13
- use crate :: ty:: {
14
- self , AdtDef , CanonicalUserTypeAnnotations , List , Region , Ty , TyCtxt , UserTypeAnnotationIndex ,
15
- } ;
13
+ use crate :: ty:: { self , List , Ty , TyCtxt } ;
14
+ use crate :: ty:: { AdtDef , InstanceDef , Region , UserTypeAnnotationIndex } ;
16
15
use rustc_hir as hir;
17
16
use rustc_hir:: def:: { CtorKind , Namespace } ;
18
17
use rustc_hir:: def_id:: DefId ;
@@ -151,7 +150,7 @@ pub struct Body<'tcx> {
151
150
pub local_decls : LocalDecls < ' tcx > ,
152
151
153
152
/// User type annotations.
154
- pub user_type_annotations : CanonicalUserTypeAnnotations < ' tcx > ,
153
+ pub user_type_annotations : ty :: CanonicalUserTypeAnnotations < ' tcx > ,
155
154
156
155
/// The number of arguments this function takes.
157
156
///
@@ -212,7 +211,7 @@ impl<'tcx> Body<'tcx> {
212
211
basic_blocks : IndexVec < BasicBlock , BasicBlockData < ' tcx > > ,
213
212
source_scopes : IndexVec < SourceScope , SourceScopeData > ,
214
213
local_decls : LocalDecls < ' tcx > ,
215
- user_type_annotations : CanonicalUserTypeAnnotations < ' tcx > ,
214
+ user_type_annotations : ty :: CanonicalUserTypeAnnotations < ' tcx > ,
216
215
arg_count : usize ,
217
216
var_debug_info : Vec < VarDebugInfo < ' tcx > > ,
218
217
span : Span ,
0 commit comments