Function cargo::ops::fix::rustfix_crate

source ·
fn rustfix_crate(
    lock_addr: &str,
    rustc: &ProcessBuilder,
    filename: &Path,
    args: &FixArgs,
    config: &Config
) -> CargoResult<FixedCrate>
Expand description

Attempts to apply fixes to a single crate.

This runs rustc (possibly multiple times) to gather suggestions from the compiler and applies them to the files on disk.