cargo publish
error message unhelpful with publish = false
#11262
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-publish
Problem
It’s a bit stupid on my part, I forgot for a second that I had
publish = false
in myCargo.toml
to prevent publishing, but this error message threw me off.I can imagine that some other folks would run into this too, so I’m raising this here.
Proposed Solution
How about an error message, if
publish = false
, along the lines of:Notes
No response
The text was updated successfully, but these errors were encountered: