@@ -872,9 +872,9 @@ fn compute_storage_conflicts<'mir, 'tcx>(
872
872
storage_conflicts
873
873
}
874
874
875
- struct StorageConflictVisitor < ' mir , ' tcx , ' s > {
875
+ struct StorageConflictVisitor < ' mir , ' tcx > {
876
876
body : & ' mir Body < ' tcx > ,
877
- saved_locals : & ' s CoroutineSavedLocals ,
877
+ saved_locals : & ' mir CoroutineSavedLocals ,
878
878
// FIXME(tmandry): Consider using sparse bitsets here once we have good
879
879
// benchmarks for coroutines.
880
880
local_conflicts : BitMatrix < Local , Local > ,
@@ -883,7 +883,7 @@ struct StorageConflictVisitor<'mir, 'tcx, 's> {
883
883
}
884
884
885
885
impl < ' mir , ' tcx , R > rustc_mir_dataflow:: ResultsVisitor < ' mir , ' tcx , R >
886
- for StorageConflictVisitor < ' mir , ' tcx , ' _ >
886
+ for StorageConflictVisitor < ' mir , ' tcx >
887
887
{
888
888
type FlowState = BitSet < Local > ;
889
889
@@ -908,7 +908,7 @@ impl<'mir, 'tcx, R> rustc_mir_dataflow::ResultsVisitor<'mir, 'tcx, R>
908
908
}
909
909
}
910
910
911
- impl StorageConflictVisitor < ' _ , ' _ , ' _ > {
911
+ impl StorageConflictVisitor < ' _ , ' _ > {
912
912
fn apply_state ( & mut self , flow_state : & BitSet < Local > , loc : Location ) {
913
913
// Ignore unreachable blocks.
914
914
if let TerminatorKind :: Unreachable = self . body . basic_blocks [ loc. block ] . terminator ( ) . kind {
0 commit comments