pub(crate) fn emit_unescape_error(
    handler: &Handler,
    lit: &str,
    span_with_quotes: Span,
    span: Span,
    mode: Mode,
    range: Range<usize>,
    error: EscapeError
)