Skip to main content

## rustfix_crate

# Function rustfix_crate

Source

    fn rustfix_crate(
        lock_addr: &str,
        rustc: &ProcessBuilder,
        filename: &Path,
        args: &FixArgs,
        gctx: &GlobalContext,
    ) -> 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.