auto merge of #14483 : ahmedcharles/rust/patbox, r=alexcrichton

This commit is contained in:
bors
2014-05-29 12:11:40 -07:00
14 changed files with 20 additions and 20 deletions

View File

@@ -657,7 +657,7 @@ pub fn walk_pat(pat: &Pat, it: |&Pat| -> bool) -> bool {
PatEnum(_, Some(ref s)) | PatTup(ref s) => {
s.iter().advance(|&p| walk_pat(p, |p| it(p)))
}
PatUniq(s) | PatRegion(s) => {
PatBox(s) | PatRegion(s) => {
walk_pat(s, it)
}
PatVec(ref before, ref slice, ref after) => {