diff options
author | Jonas Schievink <[email protected]> | 2020-10-09 19:42:17 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-10-09 19:46:45 +0100 |
commit | 5dcbf03d0f114cab1ae1748dd3c3632a52f6f52d (patch) | |
tree | adfcfe50433188eec4febbfe80fe432bcc32234f /crates/proc_macro_api/src | |
parent | cde189c5d5d77afd077b067a887bbc7e3adb4f80 (diff) |
adt: correctly inherit field visibility from enum
Previously, "find all references" on a variant field wouldn't find any
references outside the defining module. This is because variant fields
were incorrectly assumed to be private, like struct fields without
explicit visibility, but they actually inherit the enum's visibility.
Diffstat (limited to 'crates/proc_macro_api/src')
0 files changed, 0 insertions, 0 deletions