]> git.proxmox.com Git - cargo.git/commit
Add more helpful message with stabilized -Z flags.
authorEric Huss <eric@huss.org>
Thu, 21 Jan 2021 03:46:50 +0000 (19:46 -0800)
committerEric Huss <eric@huss.org>
Thu, 21 Jan 2021 03:46:50 +0000 (19:46 -0800)
commit00615fc51a5d47b96adba18d1e5616671680e314
tree4fafd8f644eb86712f6c7d25d298a4f8888f575f
parentff349f0205e52083393acfca9b61ee82dfc18b31
Add more helpful message with stabilized -Z flags.

Previously, when something was stabilized, Cargo would spit out a very
unhelpful error message about an unknown -Z flag. This changes it so
that it displays a helpful warning (or error).
src/cargo/core/features.rs
src/cargo/lib.rs
src/cargo/util/config/mod.rs
src/cargo/util/mod.rs
tests/testsuite/cargo_features.rs
tests/testsuite/weak_dep_features.rs