File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
trunk/src/librustc/middle Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 56f4d1831a65b9739d38c2754f65b641b4e0d6b8
2
+ refs/heads/master: 8f16356e5fb1a86bf2239a6bd51c3dda11155d1e
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b6400f998497c3958f40997a71756ead344a776d
5
5
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
Original file line number Diff line number Diff line change @@ -637,6 +637,7 @@ fn resolve_local(visitor: &mut RegionResolutionVisitor,
637
637
*
638
638
* P& = ref X
639
639
* | StructName { ..., P&, ... }
640
+ * | VariantName(..., P&, ...)
640
641
* | [ ..., P&, ... ]
641
642
* | ( ..., P&, ... )
642
643
* | ~P&
@@ -656,6 +657,7 @@ fn resolve_local(visitor: &mut RegionResolutionVisitor,
656
657
pats3. iter ( ) . any ( |& p| is_binding_pat ( p) )
657
658
}
658
659
660
+ ast:: PatEnum ( _, Some ( ref subpats) ) |
659
661
ast:: PatTup ( ref subpats) => {
660
662
subpats. iter ( ) . any ( |& p| is_binding_pat ( p) )
661
663
}
You can’t perform that action at this time.
0 commit comments