Replace diagnostic plugins with macro_rules
This commit is contained in:
parent
74563b4166
commit
b437240cee
32 changed files with 87 additions and 351 deletions
|
|
@ -1,9 +1,4 @@
|
|||
use syntax::{register_diagnostics, register_long_diagnostics};
|
||||
|
||||
register_long_diagnostics! {
|
||||
|
||||
}
|
||||
|
||||
register_diagnostics! {
|
||||
E0498 // malformed plugin attribute
|
||||
syntax::register_diagnostics! {
|
||||
;
|
||||
E0498, // malformed plugin attribute
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,9 +60,7 @@
|
|||
|
||||
pub use registry::Registry;
|
||||
|
||||
mod error_codes;
|
||||
pub mod error_codes;
|
||||
pub mod registry;
|
||||
pub mod load;
|
||||
pub mod build;
|
||||
|
||||
__build_diagnostic_array! { librustc_plugin, DIAGNOSTICS }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue