Skip to main content

diagnose_project_with

Function diagnose_project_with 

Source
pub fn diagnose_project_with(
    roots: &AnalysisRoots,
    overlay: &HashMap<PathBuf, String>,
) -> ProjectDiagnostics
Expand description

Slice A: project diagnostics over manifest-resolved roots — the LSP analyses exactly the files bynkc compiles, from the same manifest, through the same discovery.

Every path in the result is project-relative (ADR 0198), so a file is named uniquely across include roots.