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
visit_struct_def
visit_enum_def
visit_generics
visit_arm (can use span of inner Expr, but it's bad)
+ maybe
visit_trait_ref (can use span of inner Path, acceptable)
visit_ty_param_bound (can use span of inner Lifetime or PolyTraitRef, acceptable)
visit_lifetime_def (can use span of inner Lifetime, acceptable)
So, if I want to visit, for example, a StructDef and report an error, I can't do it and have to visit all its parents instead.