rust/src/librustc_plugin
est31 d14d194f61 Support #[allow] etc logic on a per macro level
This commit extends the current unused macro linter
to support directives like #[allow(unused_macros)]
or #[deny(unused_macros)] directly next to the macro
definition, or in one of the modules the macro is
inside. Before, we only supported such directives
at a per crate level, due to the crate's NodeId
being passed to session.add_lint.

We also had to implement handling of the macro's
NodeId in the lint visitor.
2017-05-13 16:02:29 +02:00
..
Cargo.toml Remove unused `extern crate`s. 2017-01-22 01:31:02 +00:00
build.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
diagnostics.rs move librustc/plugin to librustc_plugin 2015-11-26 18:22:39 +02:00
lib.rs rustc: Remove #![unstable] annotation 2017-05-11 16:03:05 -07:00
load.rs remove `LinkMeta` from `SharedCrateContext` 2017-04-13 18:37:47 -04:00
registry.rs Support #[allow] etc logic on a per macro level 2017-05-13 16:02:29 +02:00