diff options
| author | Patrick Walton <[email protected]> | 2011-03-10 15:14:45 -0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-10 15:14:45 -0800 |
| commit | 60f86354ad95802da4c861fb8df54abf95f1917b (patch) | |
| tree | b3261f0ae5efe013866e23b9a7151a6eb26ea262 /src/comp | |
| parent | rustc: Increment the counter in trans_bind_thunk() (diff) | |
| download | rust-60f86354ad95802da4c861fb8df54abf95f1917b.tar.xz rust-60f86354ad95802da4c861fb8df54abf95f1917b.zip | |
rustc: Use the generic info from the item in bind thunks just as calls do. Un-XFAIL drop-parametric-closure-with-bound-box.rs.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/middle/trans.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index f1f42ab5..da048951 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; } } |