Function rustc_infer::infer::error_reporting::escape_literal
source · fn escape_literal(s: &str) -> String
Expand description
Makes a valid string literal from a string by escaping special characters (“ and ), unless they are already escaped.