cargo-rustdoc: error: too many file operands
when experimental feature -w
is passed without parameters
#132718
Labels
A-CLI
Area: Command-line interface (CLI) to the compiler
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
requires-nightly
This issue requires a nightly compiler in some way.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
When i try to run this command :
cargo +nightly rustdoc -- -Z unstable-options -w
Rustdoc returns this error :
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 :
The text was updated successfully, but these errors were encountered: