Skip to main content

render_error

Function render_error 

Source
pub fn render_error(source: &str, err: &ResolveError) -> String
Expand description

Render an error with source context and caret underlines. Shows the primary span and all extra spans.