Better Normalization Needed #737
Labels
enhancement
New feature or request
normalization
Issue related to normalization of associated types
unsoundness
Related to #701 and #734
Currently we hack around flux's limited normalization (cf. issues above) by falling back to
rustc
-- seenormalize_projection_ty_with_rustc
. However, the real issue here is that the fluxparam_env
doesn'tcontain all the clauses, e.g. those implied by super-traits.
The current method, @nilehmann notes is
The correct method @nilehmann suggests is to reimplement, in flux, the
rustc
code that builds theparam_env
. The extra predicates are added in the call to this function in particular they come from a call to thisOpening this issue so we can do this properly.
The text was updated successfully, but these errors were encountered: