Bump syntex to 0.48
This commit is contained in:
parent
f430d9d1c8
commit
54802983b8
@ -26,5 +26,5 @@ post-expansion = "0.1.0"
|
||||
quote = "0.3"
|
||||
serde_codegen_internals = { version = "=0.10.0", default-features = false, path = "../serde_codegen_internals" }
|
||||
syn = { version = "0.9", features = ["aster", "visit"] }
|
||||
syntex = { version = "^0.46.0", optional = true }
|
||||
syntex_syntax = { version = "^0.46.0", optional = true }
|
||||
syntex = { version = "^0.48.0", optional = true }
|
||||
syntex_syntax = { version = "^0.48.0", optional = true }
|
||||
|
@ -171,9 +171,8 @@ macro_rules! shim {
|
||||
|
||||
use syntax::parse;
|
||||
let name = stringify!($name).to_string();
|
||||
let cfg = Vec::new();
|
||||
let sess = cx.parse_sess;
|
||||
let impl_item = parse::parse_item_from_source_str(name, expanded, cfg, sess);
|
||||
let impl_item = parse::parse_item_from_source_str(name, expanded, sess);
|
||||
push(::syntax::ext::base::Annotatable::Item(impl_item.unwrap().unwrap()));
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user