@@ -10,9 +10,8 @@ use crate::ty::codec::{TyDecoder, TyEncoder};
1010use crate :: ty:: fold:: { TypeFoldable , TypeFolder , TypeVisitor } ;
1111use crate :: ty:: print:: { FmtPrinter , Printer } ;
1212use 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 } ;
1615use rustc_hir as hir;
1716use rustc_hir:: def:: { CtorKind , Namespace } ;
1817use rustc_hir:: def_id:: DefId ;
@@ -151,7 +150,7 @@ pub struct Body<'tcx> {
151150 pub local_decls : LocalDecls < ' tcx > ,
152151
153152 /// User type annotations.
154- pub user_type_annotations : CanonicalUserTypeAnnotations < ' tcx > ,
153+ pub user_type_annotations : ty :: CanonicalUserTypeAnnotations < ' tcx > ,
155154
156155 /// The number of arguments this function takes.
157156 ///
@@ -212,7 +211,7 @@ impl<'tcx> Body<'tcx> {
212211 basic_blocks : IndexVec < BasicBlock , BasicBlockData < ' tcx > > ,
213212 source_scopes : IndexVec < SourceScope , SourceScopeData > ,
214213 local_decls : LocalDecls < ' tcx > ,
215- user_type_annotations : CanonicalUserTypeAnnotations < ' tcx > ,
214+ user_type_annotations : ty :: CanonicalUserTypeAnnotations < ' tcx > ,
216215 arg_count : usize ,
217216 var_debug_info : Vec < VarDebugInfo < ' tcx > > ,
218217 span : Span ,
0 commit comments