about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-22 09:22:39 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-26 08:38:00 +1100
commit4de5d372aab05f2c893ef83d08884e1ccfa72475 (patch)
tree73abd9db1946b41d03deca7815d758df192f2944 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent456754c21a4a9e8889ac4c4ca645b5861febe1b8 (diff)
downloadrust-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