Skip to main content

parse_error_count

Function parse_error_count 

Source
pub fn parse_error_count<'db>(db: &'db dyn Database, file: SourceFile) -> usize
Expand description

Parse-error count, derived from parsed_doc. Kept as a separate query so callers that only need the diagnostic count don’t clone the parsed AST.