about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.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_errors/src/lib.rs
parent10505a1cc9b16e0c871742c37561c457db888232 (diff)
downloadrust-4814fd0a4bcc2288ba15fb212610bdf3d1d5eb11.tar.gz
rust-4814fd0a4bcc2288ba15fb212610bdf3d1d5eb11.zip
Remove `extern crate rustc_macros` from numerous crates.
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index adbac80d7cc..fe94d41e9be 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -26,9 +26,6 @@
 // tidy-alphabetical-end
 
 #[macro_use]
-extern crate rustc_macros;
-
-#[macro_use]
 extern crate tracing;
 
 extern crate self as rustc_errors;
@@ -64,6 +61,7 @@ use rustc_data_structures::stable_hasher::{Hash128, StableHasher};
 use rustc_data_structures::sync::{Lock, Lrc};
 use rustc_data_structures::AtomicRef;
 use rustc_lint_defs::LintExpectationId;
+use rustc_macros::{Decodable, Encodable};
 use rustc_span::source_map::SourceMap;
 use rustc_span::{Loc, Span, DUMMY_SP};
 use std::backtrace::{Backtrace, BacktraceStatus};