Make UnwindAction::Continue
explicit in MIR dump
This commit is contained in:
parent
54d6738a8d
commit
c462291e0c
1 changed files with 2 additions and 1 deletions
|
@ -272,7 +272,8 @@ impl<'tcx> Debug for TerminatorKind<'tcx> {
|
|||
|
||||
let unwind = match self.unwind() {
|
||||
// Not needed or included in successors
|
||||
None | Some(UnwindAction::Continue) | Some(UnwindAction::Cleanup(_)) => None,
|
||||
None | Some(UnwindAction::Cleanup(_)) => None,
|
||||
Some(UnwindAction::Continue) => Some("unwind continue"),
|
||||
Some(UnwindAction::Unreachable) => Some("unwind unreachable"),
|
||||
Some(UnwindAction::Terminate) => Some("unwind terminate"),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue