]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99698 - compiler-errors:no-doc-hidden, r=cjgillot
authorYuki Okushi <jtitor@2k36.org>
Wed, 27 Jul 2022 02:52:53 +0000 (11:52 +0900)
committerGitHub <noreply@github.com>
Wed, 27 Jul 2022 02:52:53 +0000 (11:52 +0900)
commit3ca1c3100ddba1f180dc55a0bf74285098554438
treeba6179d5bebe99533293b286793302835932c813
parent1ff84f09b29effb82184cb62b99a4c721375ccc4
parent42a44191203e43c8fa7040992715aeb17476fb47
Rollup merge of #99698 - compiler-errors:no-doc-hidden, r=cjgillot

Prefer visibility map parents that are not `doc(hidden)` first

Far simpler approach to #98876.

This only fixes the case where the parent is `doc(hidden)`, not where the child is `doc(hidden)` since I don't know how to get the attrs on the import statement given a `ModChild`... I'll try to follow up with that, but this is a good first step.