about summary refs log tree commit diff
path: root/src/libsyntax/lib.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-03 21:15:18 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-05 12:35:15 -0400
commitb437240ceefaad3cdf92ad7e9d1255b8da88dbb3 (patch)
treead724c143dc6cf6b20b214fa00e4572571e87399 /src/libsyntax/lib.rs
parent74563b41666228e46f892e795108e06306b2b514 (diff)
downloadrust-b437240ceefaad3cdf92ad7e9d1255b8da88dbb3.tar.gz
rust-b437240ceefaad3cdf92ad7e9d1255b8da88dbb3.zip
Replace diagnostic plugins with macro_rules
Diffstat (limited to 'src/libsyntax/lib.rs')
-rw-r--r--src/libsyntax/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 1741932c1b8..75ce306df80 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -123,11 +123,8 @@ scoped_tls::scoped_thread_local!(pub static GLOBALS: Globals);
 pub mod diagnostics {
     #[macro_use]
     pub mod macros;
-    pub mod plugin;
 }
 
-// N.B., this module needs to be declared first so diagnostics are
-// registered before they are used.
 pub mod error_codes;
 
 pub mod util {
@@ -182,5 +179,3 @@ pub mod ext {
 }
 
 pub mod early_buffered_lints;
-
-__build_diagnostic_array! { libsyntax, DIAGNOSTICS }