Implement RFC 1925

This commit is contained in:
Matt Ickstadt
2017-08-26 17:09:31 -05:00
parent ed532c0d93
commit f866152991
7 changed files with 81 additions and 2 deletions

View File

@@ -810,6 +810,7 @@ pub struct Arm {
pub pats: Vec<P<Pat>>,
pub guard: Option<P<Expr>>,
pub body: P<Expr>,
pub beginning_vert: Option<Span>, // For RFC 1925 feature gate
}
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]