]> git.lizzy.rs Git - rust.git/commit
auto merge of #19449 : nikomatsakis/rust/unboxed-closure-fn-impl, r=pcwalton
authorbors <bors@rust-lang.org>
Thu, 4 Dec 2014 08:52:47 +0000 (08:52 +0000)
committerbors <bors@rust-lang.org>
Thu, 4 Dec 2014 08:52:47 +0000 (08:52 +0000)
commit53e8bd641a4d3495fb4ffb12e732390d9b4ff93e
tree06bb72cfc78e0956825adc0c3de2d9c7b5d8c19c
parent3c89031e1f213030f0514c8dcb9e6fa19ddbd323
parentf2731ffb52a5873800df4ef2dfa28da9c4302976
auto merge of #19449 : nikomatsakis/rust/unboxed-closure-fn-impl, r=pcwalton

Implement the `Fn` trait for bare fn pointers in the compiler rather
than doing it using hard-coded impls. This means that it works also
for more complex fn types involving bound regions.