rustc_lexer::unescape

Function ascii_check

Source
fn ascii_check(c: char, allow_unicode_chars: bool) -> Result<char, EscapeError>