diff --git a/src/Makefile b/src/Makefile index f96ad040953..83dca299637 100644 --- a/src/Makefile +++ b/src/Makefile @@ -448,7 +448,6 @@ TEST_XFAILS_RUSTC := $(addprefix test/run-pass/, \ comm.rs \ constrained-type.rs \ destructor-ordering.rs \ - drop-parametric-closure-with-bound-box.rs \ foreach-nested-2.rs \ foreach-nested.rs \ foreach-put-structured.rs \ diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index f1f42ab5c42..da048951d7f 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -3750,6 +3750,8 @@ fn trans_bind(@block_ctxt cx, @ast.expr f, bcx.build.Store(td, ty_param_slot); i += 1; } + + outgoing_fty = ginfo.item_type; } }