]> git.proxmox.com Git - cargo.git/commit
Make future-incompat-report output more user-friendly
authorAaron Hill <aa1ronham@gmail.com>
Fri, 27 Aug 2021 18:16:17 +0000 (13:16 -0500)
committerAaron Hill <aa1ronham@gmail.com>
Tue, 12 Oct 2021 21:35:01 +0000 (16:35 -0500)
commitd5538c3869b5116d55802a789ce863e3746984a5
tree4f3a903cfe7276e173dd18c58969f766adf65031
parentad85ec9fc0dc2ccdcd7cd5cc5e1f5cd147b0f303
Make future-incompat-report output more user-friendly

When the user enables `--future-incompat-report`, we now display
a high-level summary of the problem, as well as several suggestions
for fixing the affected crates.

The command `cargo report future-incompatibilities` now takes
a `--crate` option, which can be used to display a report
(including the actual lint messages) for a single crate.
When this option is not used, we display the report for all
crates.
src/bin/cargo/commands/report.rs
src/cargo/core/compiler/future_incompat.rs
src/cargo/core/compiler/job_queue.rs
tests/testsuite/future_incompat_report.rs