Skip to main content

diagnose_package

Function diagnose_package 

Source
pub(crate) fn diagnose_package(
    ws: &Workspace<'_>,
    pkg: &Package,
    path: &Path,
    pkg_stats: &mut ScopedDiagnosticStats<'_>,
    gctx: &GlobalContext,
) -> CargoResult<()>
Expand description

Reports a hints.mostly-unused that is not a boolean, or that is ignored without -Zprofile-hint-mostly-unused.