rust/compiler/rustc_parse/src
bors e64f1110c0 Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors
Flatten diagnostic slug modules

This makes it easier to grep for the slugs in the code.

See https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Localization.20infra.20interferes.20with.20grepping.20for.20error for more discussion about it.

This was mostly done with a few regexes and a bunch of manual work. This also exposes a pretty annoying inconsistency for the extra labels. Some of the extra labels are defined as additional properties in the fluent message (which makes them not prefixed with the crate name) and some of them are new fluent messages themselves (which makes them prefixed with the crate name). I don't know whether we want to clean this up at some point but it's useful to know.

r? `@davidtwco`
2022-10-23 09:06:39 +00:00
..
lexer Properly escape quotes when suggesting switching between char/string literals 2022-10-22 02:37:15 +01:00
parser Migrate all diagnostics 2022-10-23 10:09:44 +02:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
lib.rs Fix compiler docs 2022-10-10 18:28:29 +02:00
validate_attr.rs Overhaul MacArgs::Eq. 2022-05-05 07:06:12 +10:00