rust/compiler/rustc_parse/src/parser
Matthias Krüger 0b3b4ef2b5
Rollup merge of #98428 - davidtwco:translation-derive-typed-identifiers, r=oli-obk
macros: use typed identifiers in diag and subdiag derive

Using typed identifiers instead of strings with the Fluent identifiers in the diagnostic and subdiagnostic derives - this enables the diagnostic derive to benefit from the compile-time validation that comes with typed identifiers, namely that use of a non-existent Fluent identifier will not compile.

r? `````@oli-obk`````
2022-06-26 19:47:04 +02:00
..
attr.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
attr_wrapper.rs ast: Introduce some traits to get AST node properties generically 2022-05-11 12:43:27 +03:00
diagnostics.rs macros: use typed identifiers in subdiag derive 2022-06-24 09:08:25 +01:00
expr.rs [rustc_parse] Forbid lets in certain places 2022-06-25 08:08:38 -03:00
generics.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
item.rs Do not suggest adding semicolon/changing delimiters for macros in item position that originates in macros 2022-06-16 02:19:31 +00:00
mod.rs [rustc_parse] Forbid lets in certain places 2022-06-25 08:08:38 -03:00
nonterminal.rs ast: Introduce some traits to get AST node properties generically 2022-05-11 12:43:27 +03:00
pat.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
path.rs Rollup merge of #95211 - terrarier2111:improve-parser, r=compiler-errors 2022-06-14 07:47:22 +09:00
stmt.rs Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
ty.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00