macros: add ast::Arm beginning_vert
This commit is contained in:
parent
e7df30bac4
commit
ec0342e9f1
|
@ -159,6 +159,7 @@ fn cs_from(name: &str, cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure
|
||||||
pats: vec!(cx.pat_wild(span)),
|
pats: vec!(cx.pat_wild(span)),
|
||||||
guard: Some(guard),
|
guard: Some(guard),
|
||||||
body: body,
|
body: body,
|
||||||
|
beginning_vert: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
arms.push(arm);
|
arms.push(arm);
|
||||||
|
@ -186,6 +187,7 @@ fn cs_from(name: &str, cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure
|
||||||
pats: vec!(cx.pat_wild(trait_span)),
|
pats: vec!(cx.pat_wild(trait_span)),
|
||||||
guard: None,
|
guard: None,
|
||||||
body: cx.expr_none(trait_span),
|
body: cx.expr_none(trait_span),
|
||||||
|
beginning_vert: None,
|
||||||
};
|
};
|
||||||
arms.push(arm);
|
arms.push(arm);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue