]> git.lizzy.rs Git - rust.git/commit
auto merge of #15955 : nikomatsakis/rust/issue-5527-new-inference-scheme, r=pcwalton
authorbors <bors@rust-lang.org>
Fri, 29 Aug 2014 19:21:12 +0000 (19:21 +0000)
committerbors <bors@rust-lang.org>
Fri, 29 Aug 2014 19:21:12 +0000 (19:21 +0000)
commitbd159d3867473ee43959706519066531d76af7ba
treebbd2ce8f651f6e4377aa835a006cf34770b5579f
parent51d0d0641000d642b257beb2fe53f5174a7879d5
parent6e27c2fd58e290a05653560199762268d50165ff
auto merge of #15955 : nikomatsakis/rust/issue-5527-new-inference-scheme, r=pcwalton

The inference scheme proposed in <http://smallcultfollowing.com/babysteps/blog/2014/07/09/an-experimental-new-type-inference-scheme-for-rust/>.

This is theoretically a [breaking-change]. It is possible that you may encounter type checking errors, particularly related to closures or functions with higher-ranked lifetimes or object types. Adding more explicit type annotations should help the problem. However, I have not been able to make an example that *actually* successfully compiles with the older scheme and fails with the newer scheme.

f? @pcwalton, @pnkfelix