@@ -10,15 +10,11 @@ use rustc_hir::def_id::DefId;
1010use rustc_macros:: { HashStable , TyDecodable , TyEncodable , TypeFoldable , extension} ;
1111use rustc_span:: { Span , Symbol , kw} ;
1212use rustc_type_ir:: TyKind :: * ;
13- use rustc_type_ir:: { self as ir, CollectAndApply , TypeVisitableExt } ;
13+ use rustc_type_ir:: { self as ir, TypeVisitableExt } ;
1414use tracing:: instrument;
15- use ty:: util:: IntTypeExt ;
1615
1716use crate :: infer:: canonical:: Canonical ;
18- use crate :: ty:: {
19- self , Discr , GenericArg , GenericArgsRef , List , ParamEnv , TyCtxt , TypeSuperVisitable ,
20- TypeVisitable , TypeVisitor ,
21- } ;
17+ use crate :: ty:: { self , Discr , GenericArg , GenericArgsRef , List , ParamEnv , TyCtxt , TypeVisitable } ;
2218
2319// Re-export and re-parameterize some `I = TyCtxt<'tcx>` types here
2420#[ rustc_diagnostic_item = "TyKind" ]
@@ -39,6 +35,7 @@ pub type BoundRegion<'tcx> = ir::BoundRegion<TyCtxt<'tcx>>;
3935pub type BoundVariableKind < ' tcx > = ir:: BoundVariableKind < TyCtxt < ' tcx > > ;
4036pub type BoundRegionKind < ' tcx > = ir:: BoundRegionKind < TyCtxt < ' tcx > > ;
4137pub type BoundTyKind < ' tcx > = ir:: BoundTyKind < TyCtxt < ' tcx > > ;
38+ #[ allow( rustc:: usage_of_qualified_ty) ]
4239pub type Ty < ' tcx > = ir:: Ty < TyCtxt < ' tcx > > ;
4340
4441pub trait Article {
0 commit comments