diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-22 09:22:39 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-26 08:38:00 +1100 |
| commit | a733082be9962317e41f357a9708632a759c28b2 (patch) | |
| tree | 6a220d4a031d6c22a9ab64b4c7d77fdf3efaae01 /compiler/rustc_parse/src/errors.rs | |
| parent | df9f83987a0ba2aed69379fc191a4944454d7c42 (diff) | |
| download | rust-a733082be9962317e41f357a9708632a759c28b2.tar.gz rust-a733082be9962317e41f357a9708632a759c28b2.zip | |
Avoid need for `{D,Subd}iagnosticMessage` imports.
The `fluent_messages!` macro produces uses of
`crate::{D,Subd}iagnosticMessage`, which means that every crate using
the macro must have this import:
```
use rustc_errors::{DiagnosticMessage, SubdiagnosticMessage};
```
This commit changes the macro to instead use
`rustc_errors::{D,Subd}iagnosticMessage`, which avoids the need for the
imports.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
