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
Previously, they would be resolved as `DefKind::Variant`, and since they
resolved successfully, passed through to `resolve_associated_item`.
Then, if resolve_associated_item couldn't handle them,
it would pass `path_str` to `variant_field`.
But after my change, it no longer had access to `path_str` - all it had
was `item_str`, which is only one path segment long. So it would never
resolve through `variant_field`.
This skips straight to `variant_field` if the path resolved to a
variant.
0 commit comments