general fixups and turn TODOs into FIXMEs

This commit is contained in:
Deadbeef 2024-06-25 09:57:31 +00:00
parent 373e906296
commit 0a2330630d
16 changed files with 31 additions and 96 deletions

View file

@ -873,7 +873,6 @@ where
return Err(NoSolution);
};
let cx = ecx.cx();
let mut first_non_maybe = None;
@ -907,11 +906,11 @@ where
let Some(kind) = ty::EffectKind::try_from_ty(cx, ty) else {
return Err(NoSolution);
};
let Some(result) = ty::EffectKind::min(min, kind) else {
return Err(NoSolution);
};
min = result;
}

View file

@ -731,11 +731,11 @@ where
let Some(kind) = ty::EffectKind::try_from_ty(ecx.cx(), ty) else {
return Err(NoSolution);
};
let Some(result) = ty::EffectKind::min(min, kind) else {
return Err(NoSolution);
};
min = result;
}
}