rebase blessing
This commit is contained in:
parent
8400cd0b34
commit
ea98e42bfd
4 changed files with 31 additions and 4 deletions
|
@ -477,7 +477,7 @@ impl<'tcx> FnCtxt<'_, 'tcx> {
|
|||
behavior: DivergingFallbackBehavior,
|
||||
diverging_vids: &[ty::TyVid],
|
||||
) {
|
||||
let DivergingFallbackBehavior::FallbackToUnit = behavior else { return };
|
||||
let DivergingFallbackBehavior::ToUnit = behavior else { return };
|
||||
|
||||
// Fallback happens if and only if there are diverging variables
|
||||
if diverging_vids.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue