macros: add ast::Arm beginning_vert

This commit is contained in:
Josh Stone 2017-09-19 16:27:02 -07:00
parent e7df30bac4
commit ec0342e9f1
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ fn cs_from(name: &str, cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure
pats: vec!(cx.pat_wild(span)),
guard: Some(guard),
body: body,
beginning_vert: None,
};
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)),
guard: None,
body: cx.expr_none(trait_span),
beginning_vert: None,
};
arms.push(arm);