about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-12-12 10:09:24 +0900
committerGitHub <noreply@github.com>2019-12-12 10:09:24 +0900
commit0f286e855f9b1035e76d5f2c8c8fc26cab351632 (patch)
treeb6cb854632548a4f988f095337420378c60baa65 /src/test/debuginfo/enum-thinlto.rs
parent3cf799640fd16d306dd72c97d9e6cf84932b34b7 (diff)
parent914c9aa78d7d43d268690e2cf1ae634795cd29aa (diff)
downloadrust-0f286e855f9b1035e76d5f2c8c8fc26cab351632.tar.gz
rust-0f286e855f9b1035e76d5f2c8c8fc26cab351632.zip
Rollup merge of #67236 - petrochenkov:docerr2, r=matthewjasper
resolve: Always resolve visibilities on impl items

Fixes https://github.com/rust-lang/rust/issues/64705.

Similarly to https://github.com/rust-lang/rust/pull/67106 this was an issue with visitor discipline.
Impl items were visited as a part of visiting `ast::ItemKind::Impl`, but they should be visit-able in isolation  from their parents as well, because that's how they are visited when they are expanded from macros.

I've checked that all the remaining `resolve_visibility` calls are used correctly.

r? @matthewjasper
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions