Skip to main content Module mostly_unused_hint Copy item path Source use std::path::Path ; π use cargo_util_schemas::manifest::TomlProfile ; π use cargo_util_terminal::report::AnnotationKind; π use cargo_util_terminal::report::Group; π use cargo_util_terminal::report::Level; π use cargo_util_terminal::report::Origin; π use cargo_util_terminal::report::Snippet; π use tracing::instrument; π use tracing::instrument; π use crate::CargoResult ; π use crate::GlobalContext ; π use crate::diagnostics::ScopedDiagnosticStats ; π use crate::diagnostics::TomlSpan ; π use crate::diagnostics::get_key_value_span ; π use crate::diagnostics::workspace_rel_path ; π use crate::workspace::MaybePackage ; π use crate::workspace::Package ; π use crate::workspace::Workspace ; π HELP π HINT_KEY π PROFILE_TITLE π diagnose_package π Reports a hints.mostly-unused that is not a boolean, or that is ignored without
-Zprofile-hint-mostly-unused. diagnose_workspace π 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 . enabled_keys π The key path of each hint-mostly-unused = true under [profile.<name>], whether in the
profile itself, its build-override, or one of its package entries. hint_span π Locates hints.mostly-unused in the packageβs original manifest, if its source is available.