cargo
cargo copied to clipboard
Support Cargo-generated warnings in future-incompatibility reports
Summary
Following up on #17641 and the discussion here. The proc-macro manifest warning currently uses ordinary parser diagnostics, so it only warns for local packages and doesn’t appear in cargo report future-incompat. It would be useful to support Cargo-generated future-incompatibility warnings in those reports, including warnings from registry and git dependencies, both direct and transitive. This tracks that capability separately from whether the warning added in #17641 should use it. The eventual rejection of conflicting proc-macro settings remains tracked in #17579.
Unresolved Issues
- How do we get Cargo’s own future-incompat warnings into reports, including ones from transitive dependencies?
- Should we move the proc-macro warning from #17641 over to this once it’s available?