cargo::ops::resolve

# Function emit_warnings_of_unused_patches

source

    fn emit_warnings_of_unused_patches(
        ws: &Workspace<'_>,
        resolve: &Resolve,
        registry: &PackageRegistry<'_>,
    ) -> CargoResult<()>

Expand description

Emits warnings of unused patches case by case.

This function does its best to provide more targeted and helpful (such as showing close candidates that failed to match). However, that’s not terribly easy to do, so just show a general help message if we cannot.