diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-05 18:38:51 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-05 18:38:51 -0800 |
| commit | bb5e16b4b869f0c585c21db110e51165865e8833 (patch) | |
| tree | 5ad6a32f888d7036f31f88928f982986467a55bb /src/libsyntax/fold.rs | |
| parent | 0ca3a8cca718d6715a73fd0931cda3135d68ebd1 (diff) | |
| parent | bf6c007760169e9c382d3700fd1cdd20037e4343 (diff) | |
| download | rust-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/fold.rs')
| -rw-r--r-- | src/libsyntax/fold.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/fold.rs b/src/libsyntax/fold.rs index 396b0033b81..2999ef7ee86 100644 --- a/src/libsyntax/fold.rs +++ b/src/libsyntax/fold.rs @@ -1257,7 +1257,7 @@ pub fn noop_fold_pat<T: Folder>(p: P<Pat>, folder: &mut T) -> P<Pat> { } PatTup(elts) => PatTup(elts.move_map(|x| folder.fold_pat(x))), PatBox(inner) => PatBox(folder.fold_pat(inner)), - PatRegion(inner) => PatRegion(folder.fold_pat(inner)), + PatRegion(inner, mutbl) => PatRegion(folder.fold_pat(inner), mutbl), PatRange(e1, e2) => { PatRange(folder.fold_expr(e1), folder.fold_expr(e2)) }, |
