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
jyn514 opened this issue
Apr 5, 2021
· 4 comments
· Fixed by #83895
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.
I tried this code: rustdoc -W help
I expected to see this happen: Rustdoc prints a list of all lints, the same way rustc does.
Instead, this happened: Rustdoc ignored the flag.
The text was updated successfully, but these errors were encountered:
jyn514
added
C-bug
Category: This is a bug.
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
labels
Apr 5, 2021
Re adding a test for this... is there any way to have compiletest check only for whether some substring appears within stderr? Else every time a lint is added/removed, or its level modified, the test will need updating—which seems far too brittle to me?
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:
rustdoc -W help
I expected to see this happen: Rustdoc prints a list of all lints, the same way rustc does.
Instead, this happened: Rustdoc ignored the flag.
Meta
rustdoc --version
: rustdoc 1.53.0-nightly (0b417ab 2021-04-03)The text was updated successfully, but these errors were encountered: