Skip to main content

diagnose_workspace

Function diagnose_workspace 

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

Reports each hint-mostly-unused = true in the root manifest’s profiles that is ignored without -Zprofile-hint-mostly-unused. Config profiles are checked where they are loaded, see crate::workspace::profiles.