File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
branches/snap-stage3/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
2
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 56f4d1831a65b9739d38c2754f65b641b4e0d6b8
4
+ refs/heads/snap-stage3: 8f16356e5fb1a86bf2239a6bd51c3dda11155d1e
5
5
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
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