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
.
pub(crate) fn span_err<T: Into<String>>(
span: impl MultiSpan,
msg: T,
) -> Diagnostic
Returns an error diagnostic on span span
with msg msg
.