@@ -770,9 +770,9 @@ impl<'cx, 'tcx, R> rustc_mir_dataflow::ResultsVisitor<'cx, 'tcx, R> for MirBorro
770
770
}
771
771
772
772
TerminatorKind :: Goto { target : _ }
773
- | TerminatorKind :: Terminate
773
+ | TerminatorKind :: UnwindTerminate
774
774
| TerminatorKind :: Unreachable
775
- | TerminatorKind :: Resume
775
+ | TerminatorKind :: UnwindResume
776
776
| TerminatorKind :: Return
777
777
| TerminatorKind :: GeneratorDrop
778
778
| TerminatorKind :: FalseEdge { real_target : _, imaginary_target : _ }
@@ -803,7 +803,9 @@ impl<'cx, 'tcx, R> rustc_mir_dataflow::ResultsVisitor<'cx, 'tcx, R> for MirBorro
803
803
}
804
804
}
805
805
806
- TerminatorKind :: Resume | TerminatorKind :: Return | TerminatorKind :: GeneratorDrop => {
806
+ TerminatorKind :: UnwindResume
807
+ | TerminatorKind :: Return
808
+ | TerminatorKind :: GeneratorDrop => {
807
809
// Returning from the function implicitly kills storage for all locals and statics.
808
810
// Often, the storage will already have been killed by an explicit
809
811
// StorageDead, but we don't always emit those (notably on unwind paths),
@@ -815,7 +817,7 @@ impl<'cx, 'tcx, R> rustc_mir_dataflow::ResultsVisitor<'cx, 'tcx, R> for MirBorro
815
817
}
816
818
}
817
819
818
- TerminatorKind :: Terminate
820
+ TerminatorKind :: UnwindTerminate
819
821
| TerminatorKind :: Assert { .. }
820
822
| TerminatorKind :: Call { .. }
821
823
| TerminatorKind :: Drop { .. }
0 commit comments