@@ -359,8 +359,8 @@ impl<'a, 'tcx> MutVisitor<'tcx> for Merger<'a, 'tcx> {
359
359
//
360
360
// This section enforces bullet point 2
361
361
362
- struct FilterInformation < ' a , ' body , ' alloc , ' tcx > {
363
- body : & ' body Body < ' tcx > ,
362
+ struct FilterInformation < ' a , ' alloc , ' tcx > {
363
+ body : & ' a Body < ' tcx > ,
364
364
points : & ' a DenseLocationMap ,
365
365
live : & ' a SparseIntervalMatrix < Local , PointIndex > ,
366
366
candidates : & ' a mut Candidates < ' alloc > ,
@@ -446,7 +446,7 @@ enum CandidateFilter {
446
446
Remove ,
447
447
}
448
448
449
- impl < ' a , ' body , ' alloc , ' tcx > FilterInformation < ' a , ' body , ' alloc , ' tcx > {
449
+ impl < ' a , ' alloc , ' tcx > FilterInformation < ' a , ' alloc , ' tcx > {
450
450
/// Filters the set of candidates to remove those that conflict.
451
451
///
452
452
/// The steps we take are exactly those that are outlined at the top of the file. For each
@@ -464,12 +464,12 @@ impl<'a, 'body, 'alloc, 'tcx> FilterInformation<'a, 'body, 'alloc, 'tcx> {
464
464
/// before the statement/terminator will correctly report locals that are read in the
465
465
/// statement/terminator to be live. We are additionally conservative by treating all written to
466
466
/// locals as also being read from.
467
- fn filter_liveness < ' b > (
467
+ fn filter_liveness (
468
468
candidates : & mut Candidates < ' alloc > ,
469
469
points : & DenseLocationMap ,
470
470
live : & SparseIntervalMatrix < Local , PointIndex > ,
471
- write_info_alloc : & ' alloc mut WriteInfo ,
472
- body : & ' b Body < ' tcx > ,
471
+ write_info : & ' alloc mut WriteInfo ,
472
+ body : & Body < ' tcx > ,
473
473
) {
474
474
let mut this = FilterInformation {
475
475
body,
@@ -478,7 +478,7 @@ impl<'a, 'body, 'alloc, 'tcx> FilterInformation<'a, 'body, 'alloc, 'tcx> {
478
478
candidates,
479
479
// We don't actually store anything at this scope, we just keep things here to be able
480
480
// to reuse the allocation.
481
- write_info : write_info_alloc ,
481
+ write_info,
482
482
// Doesn't matter what we put here, will be overwritten before being used
483
483
at : Location :: START ,
484
484
} ;
@@ -820,9 +820,9 @@ fn is_local_required(local: Local, body: &Body<'_>) -> bool {
820
820
/////////////////////////////////////////////////////////
821
821
// MIR Dump
822
822
823
- fn dest_prop_mir_dump < ' body , ' tcx > (
823
+ fn dest_prop_mir_dump < ' tcx > (
824
824
tcx : TyCtxt < ' tcx > ,
825
- body : & ' body Body < ' tcx > ,
825
+ body : & Body < ' tcx > ,
826
826
points : & DenseLocationMap ,
827
827
live : & SparseIntervalMatrix < Local , PointIndex > ,
828
828
round : usize ,
0 commit comments