Change Annotatable to &Annotatable for nightly
See: rust-lang/rust#25683
This commit is contained in:
parent
a6a399d52e
commit
9399e4ff88
|
@ -64,7 +64,7 @@ macro_rules! path_std {
|
||||||
pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt,
|
pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt,
|
||||||
span: Span,
|
span: Span,
|
||||||
mitem: &MetaItem,
|
mitem: &MetaItem,
|
||||||
item: Annotatable,
|
item: &Annotatable,
|
||||||
push: &mut FnMut(Annotatable))
|
push: &mut FnMut(Annotatable))
|
||||||
{
|
{
|
||||||
let inline = cx.meta_word(span, InternedString::new("inline"));
|
let inline = cx.meta_word(span, InternedString::new("inline"));
|
||||||
|
|
Loading…
Reference in New Issue