cx.expr_binary(span, ast::BiAnd, subexpr, eq)
},
cx.expr_bool(span, true),
- |cx, span, _, _| cx.expr_bool(span, false),
+ box |cx, span, _, _| cx.expr_bool(span, false),
cx, span, substr)
}
fn cs_ne(cx: &mut ExtCtxt, span: Span, substr: &Substructure) -> P<Expr> {
cx.expr_binary(span, ast::BiOr, subexpr, eq)
},
cx.expr_bool(span, false),
- |cx, span, _, _| cx.expr_bool(span, true),
+ box |cx, span, _, _| cx.expr_bool(span, true),
cx, span, substr)
}
- macro_rules! md (
+ macro_rules! md {
($name:expr, $f:ident) => { {
let inline = cx.meta_word(span, InternedString::new("inline"));
let attrs = vec!(cx.attribute(span, inline));
args: vec!(borrowed_self()),
ret_ty: Literal(Path::new(vec!("bool"))),
attributes: attrs,
- combine_substructure: combine_substructure(|a, b, c| {
+ combine_substructure: combine_substructure(box |a, b, c| {
$f(a, b, c)
})
}
} }
- );
+ }
let trait_def = TraitDef {
span: span,