Make match exhaustive.
This commit is contained in:
parent
cae0dc2833
commit
5d6463c26c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ impl<'tcx> Visitor<'tcx> for Collector<'_, 'tcx> {
|
|||
}
|
||||
TempState::Unpromotable
|
||||
}
|
||||
_ => TempState::Unpromotable,
|
||||
TempState::Unpromotable | TempState::PromotedOut => TempState::Unpromotable,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue