summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-05 18:38:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-05 18:38:51 -0800
commitbb5e16b4b869f0c585c21db110e51165865e8833 (patch)
tree5ad6a32f888d7036f31f88928f982986467a55bb /src/libsyntax/ast.rs
parent0ca3a8cca718d6715a73fd0931cda3135d68ebd1 (diff)
parentbf6c007760169e9c382d3700fd1cdd20037e4343 (diff)
downloadrust-bb5e16b4b869f0c585c21db110e51165865e8833.tar.gz
rust-bb5e16b4b869f0c585c21db110e51165865e8833.zip
rollup merge of #20554: huonw/mut-pattern
Conflicts:
	src/librustc_typeck/check/_match.rs
Diffstat (limited to 'src/libsyntax/ast.rs')
-rw-r--r--src/libsyntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index e779821342a..727f4157c1e 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -572,7 +572,7 @@ pub enum Pat_ {
     PatStruct(Path, Vec<Spanned<FieldPat>>, bool),
     PatTup(Vec<P<Pat>>),
     PatBox(P<Pat>),
-    PatRegion(P<Pat>), // reference pattern
+    PatRegion(P<Pat>, Mutability), // reference pattern
     PatLit(P<Expr>),
     PatRange(P<Expr>, P<Expr>),
     /// [a, b, ..i, y, z] is represented as: