general fixups and turn TODOs into FIXMEs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user