Function span_err

Source
pub(crate) fn span_err<T: Into<String>>(
    span: impl MultiSpan,
    msg: T,
) -> Diagnostic
Expand description

Returns an error diagnostic on span span with msg msg.