Files
rust/tests/rustdoc-html
Jonathan Brouwer ef0d430354 Rollup merge of #162543 - GuillaumeGomez:reexport-from-transient-crates, r=petrochenkov
[rustc_resolve]  Correctly keep all reexports in `ModChild::reexport_chain`

Fixes rust-lang/rust#81893.

First commit comes from https://github.com/rust-lang/rust/pull/161872 and it's the base I used for the fix in the second commit (which also reverts basically everything from the first commit, not sure if I should keep it...). In short, `NameResolution` only seems to have access to local reexports and to the final reexported item. So instead, we keep the information in `DeclKind` (which cannot implement `Drop` because it's part of `DeclData` which is stored in `ResolverArenas::dropless` so I kept a slice instead of a `SmallVec`. Guess how I found out? Lots of `panic`s :') ) and we use this information in `reexport_chain`.

r? @petrochenkov
2026-09-16 20:09:51 +02:00
..
2026-07-13 10:54:53 +02:00
2026-09-05 17:24:32 +02:00
2026-09-11 17:08:12 +02:00
…
2026-09-11 17:08:12 +02:00
…
…
…
…
2026-06-07 13:58:33 -04:00
…
…
…
2026-07-13 10:54:53 +02:00
…
2026-09-11 17:08:12 +02:00
2026-09-11 17:08:12 +02:00
…