rustc_lexer::unescape

Function unescape_mixed

source
pub fn unescape_mixed<F>(src: &str, mode: Mode, callback: &mut F)
Expand description

Takes the contents of a mixed-utf8 literal (without quotes) and produces a sequence of escaped characters or errors.

Values are returned by invoking callback.