1
Fork 0

don't leave assoc const unnormalized due to unconstrained params

This commit is contained in:
Lukas Markeffsky 2025-02-21 18:34:14 +01:00
parent a825e37fe4
commit 7fea935ec5
5 changed files with 14 additions and 12 deletions

View file

@ -112,6 +112,7 @@ fn resolve_associated_item<'tcx>(
| CodegenObligationError::Unimplemented
| CodegenObligationError::FulfillmentError,
) => return Ok(None),
Err(CodegenObligationError::UnconstrainedParam(guar)) => return Err(guar),
};
// Now that we know which impl is being used, we can dispatch to