Replace #[plugin_registrar] with exporting __rustc_plugin_registrar
This commit is contained in:
parent
2d10c2a330
commit
a501308ec1
35 changed files with 287 additions and 556 deletions
|
@ -375,14 +375,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
|
|||
}
|
||||
|
||||
ast::ItemKind::Fn(..) => {
|
||||
if self.sess.contains_name(&i.attrs[..], sym::plugin_registrar) {
|
||||
gate_feature_post!(
|
||||
&self,
|
||||
plugin_registrar,
|
||||
i.span,
|
||||
"compiler plugins are experimental and possibly buggy"
|
||||
);
|
||||
}
|
||||
if self.sess.contains_name(&i.attrs[..], sym::start) {
|
||||
gate_feature_post!(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue