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
Refactor visiting and tracking of placeholder types
Two changes:
- Refactor store visit methods. The old methods are still in place, but a new trait that provides more flexibility for where it's needed is now there as well.
- Instead of trying to track and re-insert placeholder types when lowering in hir, provide a callback in `TyLoweringContext` to hook into var insertion.
I packed them both in this PR because the visit changes caused the order to be changed, and that made tests fail - as previously the order of visiting a `TypeRef` was coupled with the order of visiting a `Ty`.
0 commit comments