Skip to main content

manifest_diagnostics

Function manifest_diagnostics 

Source
pub fn manifest_diagnostics(
    project_root: Option<&Path>,
    overlay: &HashMap<PathBuf, String>,
    kinds: &BTreeMap<String, UnitKind>,
) -> Vec<CompileError>
Expand description

The [package] exports diagnostics for the project at project_root, against its units’ kinds (as phase_group builds them). No project root, no [package], or no exports list is nothing to check.