]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #98428 - davidtwco:translation-derive-typed-identifiers, r=oli-obk
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 26 Jun 2022 17:47:04 +0000 (19:47 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Jun 2022 17:47:04 +0000 (19:47 +0200)
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`````


Trivial merge