aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-10 15:14:45 -0800
committerPatrick Walton <[email protected]>2011-03-10 15:14:45 -0800
commit60f86354ad95802da4c861fb8df54abf95f1917b (patch)
treeb3261f0ae5efe013866e23b9a7151a6eb26ea262 /src/comp
parentrustc: Increment the counter in trans_bind_thunk() (diff)
downloadrust-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.rs2
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;
}
}