-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Description
There are cases when a user is suggested to use an unstable rustc
option (and the suggestion for external-macro-backtrace
is even in the rustc
output). However, if a user tries to add this option to his cargo
command line, the error message just says that this flag is unknown.
It would be a good idea to output something like
note: option `external-macro-backtrace` is a `rustc` option, not a `cargo` one
note: to use it, prefix the `cargo` command line with `RUSTFLAGS="-Z external-macro-backtrace"`
msrd0, boringcactus, PoignardAzur and fenhl
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`