rust/compiler/rustc_resolve/src
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
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late suggest adding const param 2023-04-07 09:11:53 +02:00
build_reduced_graph.rs resolve: Preserve reexport chains in ModChildren 2023-04-08 13:29:15 +03:00
check_unused.rs Move useless_anynous_reexport lint into unused_imports 2023-03-22 16:05:20 +01:00
def_collector.rs Remove the NodeId of ast::ExprKind::Async 2023-03-19 19:01:31 +01:00
diagnostics.rs Make span a bit better 2023-04-06 16:52:17 +00:00
effective_visibilities.rs resolve: Restore some effective visibility optimizations 2023-03-31 17:07:59 +04:00
errors.rs Deny useing tool paths 2023-04-04 14:10:13 +01:00
ident.rs Rollup merge of #109909 - clubby789:import-tool-mod, r=petrochenkov 2023-04-06 07:18:29 +09:00
imports.rs resolve: Preserve reexport chains in ModChildren 2023-04-08 13:29:15 +03:00
late.rs Auto merge of #110041 - fmease:diag-sugg-adding-const-param, r=compiler-errors 2023-04-09 10:54:04 +00:00
lib.rs Add (..) syntax for RTN 2023-03-28 01:14:28 +00:00
macros.rs rustc_interface: Add a new query pre_configure 2023-03-23 14:22:48 +04:00
rustdoc.rs Update doc(primitive) in rustc_resolve 2023-03-31 00:04:24 +02:00