aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-10-09 19:47:52 +0100
committerGitHub <[email protected]>2020-10-09 19:47:52 +0100
commitc42373892161d2d172c13c6377a689049f8f9d7e (patch)
treeadfcfe50433188eec4febbfe80fe432bcc32234f /crates/hir/src
parentcde189c5d5d77afd077b067a887bbc7e3adb4f80 (diff)
parent5dcbf03d0f114cab1ae1748dd3c3632a52f6f52d (diff)
Merge #6189
6189: adt: correctly inherit field visibility from enum r=jonas-schievink a=jonas-schievink 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. bors r+ :robot: Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir/src')
0 files changed, 0 insertions, 0 deletions