Fix rebase fallout

This commit is contained in:
Aaron Hill
2020-10-02 15:40:24 -04:00
parent 8902ce5d84
commit 4c83eec008
3 changed files with 7 additions and 12 deletions

View File

@@ -362,7 +362,7 @@ impl<'b, 'a, 'tcx> Gatherer<'b, 'a, 'tcx> {
fn gather_terminator(&mut self, term: &Terminator<'tcx>) {
match term.kind {
TerminatorKind::Goto { target: _ }
| TerminatorKind::FalseEdges { .. }
| TerminatorKind::FalseEdge { .. }
| TerminatorKind::FalseUnwind { .. }
// In some sense returning moves the return place into the current
// call's destination, however, since there are no statements after