don't leave assoc const unnormalized due to unconstrained params
This commit is contained in:
parent
a825e37fe4
commit
7fea935ec5
5 changed files with 14 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue