Skip to content

Commit e88d37d

Browse files
committed
---
yaml --- r: 44654 b: refs/heads/master c: f823d83 h: refs/heads/master v: v3
1 parent 2928e33 commit e88d37d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a4403e5cb8ddc9472a1ec66b02e3727d9f1f052a
2+
refs/heads/master: f823d83718cf84cd9459b68726debd5463e31d97
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3

trunk/src/librustc/middle/trans/_match.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,8 +1368,8 @@ pub fn compile_submatch(bcx: block,
13681368
let mut test_val = val;
13691369
if opts.len() > 0u {
13701370
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);
13731373
if variants.len() == 1 {
13741374
kind = single;
13751375
} else {

0 commit comments

Comments
 (0)