Skip to main content

format_with_diagnostics

Function format_with_diagnostics 

Source
pub fn format_with_diagnostics(
    source: &str,
    options: &FormatOptions,
) -> FormatResult
Expand description

Format SQL and return parse diagnostics from the same lex/parse pass.