msiz_rustc_ap_rustc_lexer::unescape

Function unescape_raw_str

Source
pub fn unescape_raw_str<F>(literal_text: &str, callback: &mut F)
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 translate CRLF to LF and produce errors on bare CR.