Bump syntex to 0.48

This commit is contained in:
David Tolnay committed 2016-11-02 09:12:22 -07:00
1 parent f430d9d1c8
commit 54802983b8
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -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()));
}
};