-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.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
I tried this: rustdoc -Zhelp
I expected to see this happen: A list of unstable options
Instead, this happened:
$ rustdoc +stage1 -Zhelp
error: unknown unstable option: `help`
$ rustdoc +stage1 -Chelp
error: unknown codegen option: `help`
The options need to be built after checking for help, not before.
https://github.com/rust-lang/rust/blob/0567674460504d916c254696e1b25082f72a66bf/src/librustdoc/config.rs#L338-L355
Meta
rustc --version --verbose
: 0567674460504d916c254696e1b25082f72a66bf
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.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.