-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
rustdoc -Z help and -C help are still broken #98976
Copy link
Copy link
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
Reactions are currently unavailable
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.