]> git.lizzy.rs Git - rust.git/commit
auto merge of #11386 : rcatolino/rust/ice-10955, r=pcwalton
authorbors <bors@rust-lang.org>
Thu, 9 Jan 2014 08:16:30 +0000 (00:16 -0800)
committerbors <bors@rust-lang.org>
Thu, 9 Jan 2014 08:16:30 +0000 (00:16 -0800)
commitebc079c787aead54b23c81cfc1d7522fe513b1b5
treee136741987f97c9fb290dc78f2d00a48047d893b
parentf6963e260a85b2c6993345a64752794aa87eed07
parent1812a7b540e929bb1688880541fb4c8e3b80bf6d
auto merge of #11386 : rcatolino/rust/ice-10955, r=pcwalton

So, like I mentioned in issue #10955 it doesn't seem like we need to call ```ty::subst_tps``` when the method is generic. But then I realized that this function doesn't mutate any of its input, and the return value is unused. Plus the type param substitution seems to be taken care of in ```trans_fn_ref_with_vtables```, so I thought I'd just try to remove it. As far as I can tell everything works.

This closes #10955.