You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work with the old solver but will compile with the new solver. In the old solver we are unable to eagerly normalize <T as OtherTrait>::Assoc<'a> and also can't replace it with an inference variable (as it contains a bound variable), so then after constraining T the projection is still treated as rigid, even though it is now concrete.
This means that rust-lang/rust#105787 will end up being exploitable with the new solver which is not great 🤷
The text was updated successfully, but these errors were encountered:
This does not work with the old solver but will compile with the new solver. In the old solver we are unable to eagerly normalize
<T as OtherTrait>::Assoc<'a>
and also can't replace it with an inference variable (as it contains a bound variable), so then after constrainingT
the projection is still treated as rigid, even though it is now concrete.This means that rust-lang/rust#105787 will end up being exploitable with the new solver which is not great 🤷
The text was updated successfully, but these errors were encountered: