rust/compiler/rustc_parse/src
Erin Petra Sofiya Moon e59cda9ee1
suggest using raw string literals when invalid escapes appear
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.
2022-02-14 15:11:38 -05:00
..
lexer suggest using raw string literals when invalid escapes appear 2022-02-14 15:11:38 -05:00
parser Rollup merge of #93595 - compiler-errors:ice-on-lifetime-arg, r=jackh726 2022-02-12 09:26:21 +01:00
lib.rs expand: Turn ast::Crate into a first class expansion target 2021-11-28 15:48:55 +08:00
validate_attr.rs