diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-03 21:15:18 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-09-05 12:35:15 -0400 |
| commit | b437240ceefaad3cdf92ad7e9d1255b8da88dbb3 (patch) | |
| tree | ad724c143dc6cf6b20b214fa00e4572571e87399 /src/libsyntax/lib.rs | |
| parent | 74563b41666228e46f892e795108e06306b2b514 (diff) | |
| download | rust-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.rs | 5 |
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 } |
