Module cargo::core::compiler::future_incompat
source · Expand description
Support for future-incompatible warning reporting.
Structs
A diagnostic emitted by the compiler as a JSON message.
We only care about the ‘rendered’ field
A single future-incompatible warning emitted by rustc.
The future incompatibility report, emitted by the compiler as a JSON message.
Structure used for collecting reports in-memory.
A single report for a given compilation session.
The structure saved to disk containing the reports.
Constants
The filename in the top-level
target
directory where we store
the reportMax number of reports to save on disk.
Current version of the on-disk format.
Functions
Returns a user-readable message explaining which of
the packages in
package_ids
have updates available.
This is best-effort - if an error occurs, None
will be returned.Writes a future-incompat report to disk, using the per-package
reports gathered during the build. If requested by the user,
a message is also displayed in the build output.