rust/compiler/rustc_middle
bors 7201301df6 Auto merge of #109500 - petrochenkov:modchainld, r=oli-obk
resolve: Preserve reexport chains in `ModChild`ren

This may be potentially useful for
- avoiding uses of `hir::ItemKind::Use` (which usually lead to correctness issues)
- preserving documentation comments on all reexports, including those from other crates
- preserving and checking stability/deprecation info on reexports
- all kinds of diagnostics

The second commit then migrates some hacky logic from rustdoc to `module_reexports` to make it simpler and more correct.
Ideally rustdoc should use `module_reexports` immediately at the top level, so `hir::ItemKind::Use`s are never used.
The second commit also fixes issues with https://github.com/rust-lang/rust/pull/109330 and therefore
Fixes https://github.com/rust-lang/rust/issues/109631
Fixes https://github.com/rust-lang/rust/issues/109614
Fixes https://github.com/rust-lang/rust/issues/109424
2023-04-09 13:05:56 +00:00
..
src Auto merge of #109500 - petrochenkov:modchainld, r=oli-obk 2023-04-09 13:05:56 +00:00
Cargo.toml Update indexmap and rayon crates 2023-03-25 02:12:13 +01:00
messages.ftl fix(middle): emit error rather than delay bug when reaching limit 2023-04-03 11:08:14 +08:00
README.md

For more information about how rustc works, see the rustc dev guide.