@@ -872,9 +872,9 @@ fn compute_storage_conflicts<'mir, 'tcx>(
872872 storage_conflicts
873873}
874874
875- struct StorageConflictVisitor < ' mir , ' tcx , ' s > {
875+ struct StorageConflictVisitor < ' mir , ' tcx > {
876876 body : & ' mir Body < ' tcx > ,
877- saved_locals : & ' s CoroutineSavedLocals ,
877+ saved_locals : & ' mir CoroutineSavedLocals ,
878878 // FIXME(tmandry): Consider using sparse bitsets here once we have good
879879 // benchmarks for coroutines.
880880 local_conflicts : BitMatrix < Local , Local > ,
@@ -883,7 +883,7 @@ struct StorageConflictVisitor<'mir, 'tcx, 's> {
883883}
884884
885885impl < ' mir , ' tcx , R > rustc_mir_dataflow:: ResultsVisitor < ' mir , ' tcx , R >
886- for StorageConflictVisitor < ' mir , ' tcx , ' _ >
886+ for StorageConflictVisitor < ' mir , ' tcx >
887887{
888888 type FlowState = BitSet < Local > ;
889889
@@ -908,7 +908,7 @@ impl<'mir, 'tcx, R> rustc_mir_dataflow::ResultsVisitor<'mir, 'tcx, R>
908908 }
909909}
910910
911- impl StorageConflictVisitor < ' _ , ' _ , ' _ > {
911+ impl StorageConflictVisitor < ' _ , ' _ > {
912912 fn apply_state ( & mut self , flow_state : & BitSet < Local > , loc : Location ) {
913913 // Ignore unreachable blocks.
914914 if let TerminatorKind :: Unreachable = self . body . basic_blocks [ loc. block ] . terminator ( ) . kind {
0 commit comments