cargo::core::profiles

Function validate_packages_unmatched

Source
fn validate_packages_unmatched(
    shell: &mut Shell,
    resolve: &Resolve,
    name: &str,
    toml: &TomlProfile,
    found: &HashSet<PackageIdSpec>,
) -> CargoResult<()>
Expand description

Check for any profile override specs that do not match any known packages.

This helps check for typos and mistakes.