Skip to main content

diagnostic_lines

Function diagnostic_lines 

Source
fn diagnostic_lines(
    e: &LineEdit,
    d: &Diagnostic,
    prompt: &str,
) -> Vec<Line<'static>>
Expand description

Under the edit line: a ^~~~ marker under the diagnostic’s span (lined up past prompt), then the message and its hint.