pub(crate) fn ret_error( genv: GlobalEnv<'_, '_>, span: Span, dst_span: Option<ESpan>, ) -> ErrorGuaranteed