1
Fork 0

rebase blessing

This commit is contained in:
Waffle Lapkin 2024-06-13 14:43:16 +02:00
parent 8400cd0b34
commit ea98e42bfd
4 changed files with 31 additions and 4 deletions

View file

@ -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() {