cargo::core::resolver::errors

Function alt_names

Source
fn alt_names(
    registry: &mut dyn Registry,
    dep: &Dependency,
) -> Option<CargoResult<Vec<(usize, Summary)>>>
Expand description

Maybe the user mistyped the name? Like dep-thing when Dep_Thing was meant. So we try asking the registry for a fuzzy search for suggestions.