rustc_trait_selection::error_reporting::infer

Function 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.