mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
c227f35a9c
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |