@@ -4,8 +4,8 @@ use rustc_infer::infer::InferCtxt;
4
4
use rustc_middle:: mir:: visit:: TyContext ;
5
5
use rustc_middle:: mir:: visit:: Visitor ;
6
6
use 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 ,
9
9
} ;
10
10
use rustc_middle:: ty:: subst:: SubstsRef ;
11
11
use rustc_middle:: ty:: visit:: TypeVisitable ;
@@ -49,10 +49,6 @@ struct ConstraintGeneration<'cg, 'tcx> {
49
49
}
50
50
51
51
impl < ' 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
-
56
52
/// We sometimes have `substs` within an rvalue, or within a
57
53
/// call. Make them live at the location where they appear.
58
54
fn visit_substs ( & mut self , substs : & SubstsRef < ' tcx > , location : Location ) {
0 commit comments