Open
Description
With PR #124939, rustdoc hides in the "Aliased type" section of type alias every type that is not from the current crate.
However if we had access in rustdoc to the Cargo workspace information we could instead be more fine-grain and not hide those coming from the same workspace.
Crate A:
pub struct One<T>(T);
Crate B:
pub type OneString = One<String>;
If crate A and B are in the same workspace we should probably not hide the inner item, and therefor display:
// in Aliased Type
struct OneString(String)
// instead of
struct OneString(/* private items */)
@rustbot labels +T-rustdoc +A-rustdoc-ui +C-discussion