about summary refs log tree commit diff
path: root/compiler/rustc_session/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-04-29 08:53:45 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-04-29 10:21:54 +1000
commit4814fd0a4bcc2288ba15fb212610bdf3d1d5eb11 (patch)
treee263bd8720baf053e2de38a2b3f76ff2e706b8c7 /compiler/rustc_session/src/errors.rs
parent10505a1cc9b16e0c871742c37561c457db888232 (diff)
downloadrust-4814fd0a4bcc2288ba15fb212610bdf3d1d5eb11.tar.gz
rust-4814fd0a4bcc2288ba15fb212610bdf3d1d5eb11.zip
Remove `extern crate rustc_macros` from numerous crates.
Diffstat (limited to 'compiler/rustc_session/src/errors.rs')
-rw-r--r--compiler/rustc_session/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/errors.rs b/compiler/rustc_session/src/errors.rs
index 2e4c7d14ecd..dce56382a53 100644
--- a/compiler/rustc_session/src/errors.rs
+++ b/compiler/rustc_session/src/errors.rs
@@ -6,7 +6,7 @@ use rustc_errors::{
     codes::*, Diag, DiagCtxt, DiagMessage, Diagnostic, EmissionGuarantee, ErrorGuaranteed, Level,
     MultiSpan,
 };
-use rustc_macros::Diagnostic;
+use rustc_macros::{Diagnostic, Subdiagnostic};
 use rustc_span::{Span, Symbol};
 use rustc_target::spec::{SplitDebuginfo, StackProtector, TargetTriple};