mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
71009058b0
Decouple "reporting in deps" from `FutureIncompatibilityReason` The reason should just be it -- the reason. It never felt right to me that it was also responsible for whatever we include the warning in cargo's reports. It gets especially unruly if you want to add non-`FutureReleaseError*` warnings which are included in the reports. I just added a field to `FutureIncompatibleInfo` to control whatever the diagnostic is included in the cargo's reports.
For more information about how rustc works, see the rustc dev guide.