Bump syntex to 0.48

This commit is contained in:
David Tolnay
2016-11-02 08:32:30 -07:00
parent f430d9d1c8
commit 54802983b8
2 changed files with 3 additions and 4 deletions
+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()));
}
};