# Function cargo::ops::fix::rustfix_and_fix

source ·

    fn rustfix_and_fix(
        fixes: &mut FixedCrate,
        rustc: &ProcessBuilder,
        filename: &Path,
        config: &Config
    ) -> CargoResult<()>

Expand description

Executes `rustc` to apply one round of suggestions to the crate in question.

This will fill in the `fixes` map with original code, suggestions applied, and any errors encountered while fixing files.