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
I noticed this while trying to remove codes related to newtype enums. Newtype enum syntax is gone, but rustc still relies on autodereference behavior.
Most notably, syntax::visit::vt<E> is an enum but codes access fields such as visit_expr. Since it is a newtype enum (one variant and one argument) it currently works, but I think the idea is to get rid of newtype enum dereferences?
My attempt to replace it with a newtype struct met ICEs and was unsuccessful.
The text was updated successfully, but these errors were encountered:
I noticed this while trying to remove codes related to newtype enums. Newtype enum syntax is gone, but rustc still relies on autodereference behavior.
Most notably,
syntax::visit::vt<E>
is an enum but codes access fields such asvisit_expr
. Since it is a newtype enum (one variant and one argument) it currently works, but I think the idea is to get rid of newtype enum dereferences?My attempt to replace it with a newtype struct met ICEs and was unsuccessful.
The text was updated successfully, but these errors were encountered: