fn unescape_raw_str_or_raw_byte_str<F>(
    src: &str,
    is_byte: bool,
    callback: &mut F
)where
    F: FnMut(Range<usize>, Result<char, EscapeError>),
Expand description

Takes a contents of a string literal (without quotes) and produces a sequence of characters or errors. NOTE: Raw strings do not perform any explicit character escaping, here we only produce errors on bare CR.