Remove rustdoc-specific is_import field from HIR Fixes #47100. I believe that there is no need to check for the name being the same, as this part of rustdoc seems to be strictly interested in exploring "public modules." Re-exports from the same module cannot visit another module; and, re-exports cannot export items with a greater visibility than that item declares. Therefore, I think this code is either sufficient, or in fact does more than is necessary, depending on whether rustdoc cares about the re-export itself. r? @eddyb |
||
|---|---|---|
| .. | ||
| benches | ||
| cfg | ||
| dep_graph | ||
| hir | ||
| ich | ||
| infer | ||
| lint | ||
| middle | ||
| mir | ||
| session | ||
| traits | ||
| ty | ||
| util | ||
| build.rs | ||
| Cargo.toml | ||
| diagnostics.rs | ||
| lib.rs | ||
| macros.rs | ||
| README.md | ||
For more information about how rustc works, see the rustc guide.