aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0008_mod_item.rast
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-28 03:49:40 +0000
committerGitHub <[email protected]>2021-02-28 03:49:40 +0000
commitcbec9958220a7ce5d51289e2fc59c2eb0754ac87 (patch)
tree81a4a09539f49b5993a2315625b704c0a51943f3 /crates/syntax/test_data/parser/ok/0008_mod_item.rast
parentf682627da4be4777fa0c1527398ef4136cd929b1 (diff)
parent6990b89b2650d8263dad348173f4f729d6753360 (diff)
Merge #7801
7801: Restrict visibilities to the containing DefMap r=jonas-schievink a=jonas-schievink Visibilities must always point into the DefMap where they are used, but in a block expression `self` resolves to the *containing* non-block module, which is in a different DefMap. Restrict visibilities accordingly, turning them into basically `pub(block)`, which Rust has no syntax for. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/ok/0008_mod_item.rast')
0 files changed, 0 insertions, 0 deletions