Skip to content

Commit e19235e

Browse files
committed
---
yaml --- r: 44229 b: refs/heads/snap-stage3 c: ad9c54c h: refs/heads/master i: 44227: 6a3b7e7 v: v3
1 parent 687707d commit e19235e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f823d83718cf84cd9459b68726debd5463e31d97
4+
refs/heads/snap-stage3: ad9c54c631a39bbaf926021f18d683feba49fc09
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/middle/typeck/check/_match.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ pub fn check_pat_variant(pcx: pat_ctxt, pat: @ast::pat, path: @ast::path,
131131
// Assign the pattern the type of the struct.
132132
let ctor_tpt = ty::lookup_item_type(tcx, s_def_id);
133133
let struct_tpt = if ty::is_fn_ty(ctor_tpt.ty) {
134-
{ty: ty::ty_fn_ret(ctor_tpt.ty), ..ctor_tpt}
134+
ty::ty_param_bounds_and_ty {ty: ty::ty_fn_ret(ctor_tpt.ty),
135+
..ctor_tpt}
135136
} else {
136137
ctor_tpt
137138
};

0 commit comments

Comments
 (0)