rustc_lexer::unescape

Function scan_unicode

Source
fn scan_unicode(
    chars: &mut Chars<'_>,
    allow_unicode_escapes: bool,
) -> Result<char, EscapeError>