e59cda9ee1
i'd guess about 70% of "bad escape" cases occur when someone meant to use a raw string literal because they're passing it directly to Regex::new(). this emits an advisory (Applicability::MaybeIncorrect) help: suggestion to the user that they use an r"" string, on top of the normal notes about looking at the string literal documentation/spec. |
||
---|---|---|
.. | ||
lexer | ||
parser | ||
lib.rs | ||
validate_attr.rs |