You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zopsicle opened this issue
Apr 30, 2023
· 5 comments
Assignees
Labels
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
…henkov
added TraitAlias to check_item() for missing_docs
As in issue rust-lang#111025 the `missing_docs` was not being triggered for trait aliases. I added `TraitAlias` to the pattern match for check_item(), and the lint seems to be behaving appropriately
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: “missing documentation for a trait alias” diagnostic
Instead, this happened: no diagnostic
Meta
Using 1.71.0-nightly 2023-04-29 87b1f89.
The text was updated successfully, but these errors were encountered: