rustdoc doesn't show traits re-exported as _
#108931
Labels
C-bug
Category: This is a bug.
regression-untriaged
Untriaged performance or correctness regression.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: rustdoc shows that the prelude re-exports
Instead, this happened: rustdoc shows the module as empty
This is a regression from #97617, which explicitly implements the above behaviour (CC @GuillaumeGomez). This makes it hard to figure out from the documentation which kinds of traits importing a prelude-style module would bring into scope unless the prelude re-exports them with an actual name. Re-exporting with an actual name is not necessary for extension traits though.
Meta
rustc --version --verbose
:@rustbot modify labels: regression-untriaged
The text was updated successfully, but these errors were encountered: