]> git.lizzy.rs Git - rust.git/commit
auto merge of #20189 : cmr/rust/i32-fallback, r=nikomatsakis
authorbors <bors@rust-lang.org>
Fri, 2 Jan 2015 04:46:53 +0000 (04:46 +0000)
committerbors <bors@rust-lang.org>
Fri, 2 Jan 2015 04:46:53 +0000 (04:46 +0000)
commitee3c5957eaaf577bff895ce819447f7e40558a28
treee43b4f8dce4c069ef719e0afcf21ccba12078b09
parentcd614164e692cca3a1460737f581fcb6d4630baf
parent53ece7158500e561c69d6e07160518f19d8beafd
auto merge of #20189 : cmr/rust/i32-fallback, r=nikomatsakis

Doesn't yet converge on a fixed point, but generally works. A better algorithm
will come with the implementation of default type parameter fallback.

If inference fails to determine an exact integral or floating point type, it
will set the type to i32 or f64, respectively.

Closes #16968
src/librustc_typeck/check/mod.rs