mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-20 18:56:19 +00:00
Get serde2_macros compiling again
This commit is contained in:
1 parent
083f62659a
commit
ae582b6064
1 file changed
+2
-2
@@ -16,7 +16,7 @@ use syntax::ast::{
|
||||
};
|
||||
use syntax::ast;
|
||||
use syntax::codemap::Span;
|
||||
use syntax::ext::base::{ExtCtxt, ItemDecorator};
|
||||
use syntax::ext::base::{ExtCtxt, Decorator};
|
||||
use syntax::ext::build::AstBuilder;
|
||||
use syntax::ext::deriving::generic::{
|
||||
EnumMatching,
|
||||
@@ -52,7 +52,7 @@ use rustc::plugin::Registry;
|
||||
pub fn plugin_registrar(reg: &mut Registry) {
|
||||
reg.register_syntax_extension(
|
||||
token::intern("deriving_serializable"),
|
||||
ItemDecorator(box expand_deriving_serializable));
|
||||
Decorator(box expand_deriving_serializable));
|
||||
|
||||
/*
|
||||
reg.register_syntax_extension(
|
||||
|
||||
Reference in new issue
Block a user