rustc: Use the generic info from the item in bind thunks just as calls do. Un-XFAIL drop-parametric-closure-with-bound-box.rs.

This commit is contained in:
Patrick Walton 2011-03-10 15:14:45 -08:00
parent 185bcc6218
commit 60f86354ad
2 changed files with 2 additions and 1 deletions

View file

@ -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 \

View file

@ -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;
}
}