File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
trunk/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
- refs/heads/master: a4403e5cb8ddc9472a1ec66b02e3727d9f1f052a
2
+ refs/heads/master: f823d83718cf84cd9459b68726debd5463e31d97
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5
5
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
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