Skip to content

Commit 256bfe6

Browse files
committed
---
yaml --- r: 47158 b: refs/heads/try c: f823d83 h: refs/heads/master v: v3
1 parent 9c3db19 commit 256bfe6

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5-
refs/heads/try: a4403e5cb8ddc9472a1ec66b02e3727d9f1f052a
5+
refs/heads/try: f823d83718cf84cd9459b68726debd5463e31d97
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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)