Function rustc_parse::lexer::unescape_error_reporting::emit_unescape_error
source ยท pub(crate) fn emit_unescape_error(
dcx: DiagCtxtHandle<'_>,
lit: &str,
full_lit_span: Span,
err_span: Span,
mode: Mode,
range: Range<usize>,
error: EscapeError,
) -> Option<ErrorGuaranteed>