mirror of https://github.com/rust-lang/cargo
247ca7fd04
Report cmd aliasing failure with more contexts ### What does this PR try to resolve? Commands aliasing resolution should report TOML parsing error to users. Fixes #11013. ### How should we test and review this PR? https://github.com/rust-lang/cargo/pull/11087/commits/ef7a4ef is the most important commit in this PR. `has_key` now throws errors after this PR, so any use `Config::get<Option<…>>()` is affected if there is a malformed config. Had a skim over all usages of `get::<Option<…>>`, `get_string` and `get_path`, I don't feel any of them should ignore errors. |
||
---|---|---|
.. | ||
bin/cargo | ||
cargo | ||
doc | ||
etc |