Open
Description
When i try to run this command : cargo +nightly rustdoc -- -Z unstable-options -w
Rustdoc returns this error :
error: too many file operands
Which confuses me. I mean, i didn't passed any file format, so how can there be too many of them ?
We should have a clearer error, something like this :
error: no output format given after `-w`
Metadata
Metadata
Assignees
Labels
Area: Command-line interface (CLI) to the compilerArea: Messages for errors, warnings, and lintsCategory: This is a bug.Diagnostics: A diagnostic that is giving misleading or incorrect information.Relevant to the rustdoc team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.