]> git.lizzy.rs Git - rust.git/commit
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)
commit0b3b4ef2b521496b90345e62ef121bd1c9daba4d
tree78a191d2a8e95b804dcf645d8cdbdf9932bffe68
parentdf26fdf3e1667e7ea2e442bb554aa9632677c862
parentdc90d1d987d74af4950caca0f9b16d7fdf21b6af
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`````