general fixups and turn TODO
s into FIXME
s
This commit is contained in:
parent
373e906296
commit
0a2330630d
16 changed files with 31 additions and 96 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue