rust/compiler/rustc_attr
Xiretza c227f35a9c Generate lint diagnostic message from BuiltinLintDiag
Translation of the lint message happens when the actual diagnostic is
created, not when the lint is buffered. Generating the message from
BuiltinLintDiag ensures that all required data to construct the message
is preserved in the LintBuffer, eventually allowing the messages to be
moved to fluent.

Remove the `msg` field from BufferedEarlyLint, it is either generated
from the data in the BuiltinLintDiag or stored inside
BuiltinLintDiag::Normal.
2024-05-21 20:16:39 +00:00
..
src Generate lint diagnostic message from BuiltinLintDiag 2024-05-21 20:16:39 +00:00
Cargo.toml Use the Align type when parsing alignment attributes 2024-04-01 03:05:55 +01:00
messages.ftl fix spans of arguments in diagnostic 2024-03-03 10:48:40 +08:00