Remove generalization over projection
Instead, just use a term everywhere.
This commit is contained in:
parent
1c4fe64bdc
commit
bd03d8167f
9 changed files with 160 additions and 325 deletions
|
@ -36,7 +36,10 @@ fn normalize_projection_ty<'tcx>(
|
|||
&mut obligations,
|
||||
);
|
||||
fulfill_cx.register_predicate_obligations(infcx, obligations);
|
||||
Ok(NormalizationResult { normalized_ty: answer })
|
||||
// FIXME(associated_const_equality): All users of normalize_projection_ty expected
|
||||
// a type, but there is the possibility it could've been a const now. Maybe change
|
||||
// it to a Term later?
|
||||
Ok(NormalizationResult { normalized_ty: answer.ty().unwrap() })
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue