From ec0342e9f187e46e1c86a126871beb539bb61c80 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 19 Sep 2017 16:27:02 -0700 Subject: [PATCH] macros: add ast::Arm beginning_vert --- macros/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 9cf8070..a913d3f 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -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);