- Notifications
You must be signed in to change notification settings - Fork 13.8k
Open
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
rustdoc has a lot of issues handling type aliases, and I think a large part of that is due to the fact that once the cleaned ast is constructed, type aliases are essentially opaque, and code cannot see what type they point to.
clean::TypeAlias
does exist, but there's no way to get that from a Path
item, which is what shows up in type args.
I encountered this when working on #138574
Metadata
Metadata
Assignees
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.