]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
src/librustc_typeck/check/mod.rs

Simple merge