Register member constraints on the final merged hidden type
Previously we did this per hidden type candiate, which didn't always have all the information available.
This commit is contained in:
parent
9110911353
commit
7bce50c01a
13 changed files with 62 additions and 96 deletions
|
@ -33,7 +33,7 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
|
|||
/// purpose of this function is to do that translation.
|
||||
///
|
||||
/// (*) C1 and C2 were introduced in the comments on
|
||||
/// `constrain_opaque_type`. Read that comment for more context.
|
||||
/// `register_member_constraints`. Read that comment for more context.
|
||||
///
|
||||
/// # Parameters
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue