diff options
| author | David Wood <david.wood@huawei.com> | 2022-10-03 14:14:51 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-10-10 14:20:16 +0100 |
| commit | 540b203bf9fe05e572f1baa938317d4c10df3528 (patch) | |
| tree | e392b42d3f75127fcb34a138b4b0e30f45f90953 /compiler/rustc_macros/src | |
| parent | b4ac26289f17a5779d4318fb63436d94aebbf5ea (diff) | |
| download | rust-540b203bf9fe05e572f1baa938317d4c10df3528.tar.gz rust-540b203bf9fe05e572f1baa938317d4c10df3528.zip | |
errors: `DiagnosticMessage::Eager`
Add variant of `DiagnosticMessage` for eagerly translated messages (messages in the target language which don't need translated by the emitter during emission). Also adds `eager_subdiagnostic` function which is intended to be invoked by the diagnostic derive for subdiagnostic fields which are marked as needing eager translation. Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_macros/src')
0 files changed, 0 insertions, 0 deletions
