Function render_error

Source
pub fn render_error<T>(
    sources: &IndexMap<SourceId, (&'static str, &'static str)>,
    err: SpannedItem<T>,
) -> Report
where T: Diagnostic + Send + Sync + 'static,