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 | 4de5d372aab05f2c893ef83d08884e1ccfa72475 (patch) | |
| tree | 73abd9db1946b41d03deca7815d758df192f2944 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | 456754c21a4a9e8889ac4c4ca645b5861febe1b8 (diff) | |
| download | rust-4de5d372aab05f2c893ef83d08884e1ccfa72475.tar.gz rust-4de5d372aab05f2c893ef83d08884e1ccfa72475.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 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
