File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/snap-stage3/src/librustc/middle/trans Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: a4403e5cb8ddc9472a1ec66b02e3727d9f1f052a
4
+ refs/heads/snap-stage3: f823d83718cf84cd9459b68726debd5463e31d97
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -1368,8 +1368,8 @@ pub fn compile_submatch(bcx: block,
1368
1368
let mut test_val = val;
1369
1369
if opts.len() > 0u {
1370
1370
match opts[0] {
1371
- var(_, vdef ) => {
1372
- let variants = ty::enum_variants(tcx, vdef. enm);
1371
+ var(_, (enm, _) ) => {
1372
+ let variants = ty::enum_variants(tcx, enm);
1373
1373
if variants.len() == 1 {
1374
1374
kind = single;
1375
1375
} else {
You can’t perform that action at this time.
0 commit comments