pub fn semantic_diagnostics(
uri: &Url,
doc: &ParsedDoc,
session: &AnalysisSession,
cfg: &DiagnosticsConfig,
) -> Vec<Diagnostic>Expand description
Run semantic checks on doc against the supplied AnalysisSession.
Ingests the current file, runs Pass 2 via FileAnalyzer, and returns LSP
diagnostics filtered by DiagnosticsConfig.