Skip to main content

format_error

Function format_error 

Source
pub fn format_error(
    error: &CompileError,
    source_map: Option<&SourceMap>,
    loc: Option<SourceLoc>,
) -> String
Expand description

Format a compile error with source context for display to the user.