@@ -4,8 +4,8 @@ use rustc_infer::infer::InferCtxt;
44use rustc_middle:: mir:: visit:: TyContext ;
55use rustc_middle:: mir:: visit:: Visitor ;
66use rustc_middle:: mir:: {
7- BasicBlock , BasicBlockData , Body , Local , Location , Place , PlaceRef , ProjectionElem , Rvalue ,
8- SourceInfo , Statement , StatementKind , Terminator , TerminatorKind , UserTypeProjection ,
7+ Body , Local , Location , Place , PlaceRef , ProjectionElem , Rvalue , SourceInfo , Statement ,
8+ StatementKind , Terminator , TerminatorKind , UserTypeProjection ,
99} ;
1010use rustc_middle:: ty:: subst:: SubstsRef ;
1111use rustc_middle:: ty:: visit:: TypeVisitable ;
@@ -49,10 +49,6 @@ struct ConstraintGeneration<'cg, 'tcx> {
4949}
5050
5151impl < ' cg , ' tcx > Visitor < ' tcx > for ConstraintGeneration < ' cg , ' tcx > {
52- fn visit_basic_block_data ( & mut self , bb : BasicBlock , data : & BasicBlockData < ' tcx > ) {
53- self . super_basic_block_data ( bb, data) ;
54- }
55-
5652 /// We sometimes have `substs` within an rvalue, or within a
5753 /// call. Make them live at the location where they appear.
5854 fn visit_substs ( & mut self , substs : & SubstsRef < ' tcx > , location : Location ) {
0 commit comments