Skip to content

Commit dcb85f1

Browse files
committed
---
yaml --- r: 5326 b: refs/heads/master c: 2c6eba0 h: refs/heads/master v: v3
1 parent b56d81e commit dcb85f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: f41f75fe53b705d4363e91b8f66fd51e2b2f9fb5
2+
refs/heads/master: 2c6eba00dd4b410159d85889beefc6978da41faa

trunk/src/comp/middle/trans_alt.rs

+1
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ fn bind_irrefutable_pat(bcx: @block_ctxt, pat: @ast::pat, val: ValueRef,
576576
// FIXME: Could constrain pat_bind to make this
577577
// check unnecessary.
578578
check (type_has_static_size(ccx, ty));
579+
check non_ty_var(ccx, ty);
579580
let llty = trans::type_of(ccx, pat.span, ty);
580581
let alloc = trans::alloca(bcx, llty);
581582
bcx =

0 commit comments

Comments
 (0)