@@ -85,7 +85,6 @@ should go to.
85
85
use crate :: build:: { BlockAnd , BlockAndExtension , BlockFrame , Builder , CFG } ;
86
86
use crate :: hair:: { Expr , ExprRef , LintLevel } ;
87
87
use rustc:: middle:: region;
88
- use rustc:: ty:: Ty ;
89
88
use rustc:: hir;
90
89
use rustc:: mir:: * ;
91
90
use syntax_pos:: { DUMMY_SP , Span } ;
@@ -173,11 +172,11 @@ struct BreakableScope<'tcx> {
173
172
region_scope : region:: Scope ,
174
173
/// Where the body of the loop begins. `None` if block
175
174
continue_block : Option < BasicBlock > ,
176
- /// Block to branch into when the loop or block terminates (either by being `break`-en out
177
- /// from, or by having its condition to become false)
175
+ /// Block to branch into when the loop or block terminates (either by being
176
+ /// `break`-en out from, or by having its condition to become false)
178
177
break_block : BasicBlock ,
179
- /// The destination of the loop/block expression itself (i.e., where to put the result of a
180
- /// `break` expression)
178
+ /// The destination of the loop/block expression itself (i.e., where to put
179
+ /// the result of a `break` expression)
181
180
break_destination : Place < ' tcx > ,
182
181
}
183
182
@@ -728,10 +727,9 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
728
727
span : Span ,
729
728
region_scope : region:: Scope ,
730
729
local : Local ,
731
- place_ty : Ty < ' tcx > ,
732
730
) {
733
- self . schedule_drop ( span, region_scope, local, place_ty , DropKind :: Storage ) ;
734
- self . schedule_drop ( span, region_scope, local, place_ty , DropKind :: Value ) ;
731
+ self . schedule_drop ( span, region_scope, local, DropKind :: Storage ) ;
732
+ self . schedule_drop ( span, region_scope, local, DropKind :: Value ) ;
735
733
}
736
734
737
735
/// Indicates that `place` should be dropped on exit from
0 commit comments