]> git.lizzy.rs Git - rust.git/commit
Merge pull request #20415 from eddyb/unify-expected-return
authorbors <bors@rust-lang.org>
Mon, 12 Jan 2015 00:21:22 +0000 (00:21 +0000)
committerbors <bors@rust-lang.org>
Mon, 12 Jan 2015 00:21:22 +0000 (00:21 +0000)
commit3d5a102007fc65f3a121aabd11bf69b9c8ef3ce5
treeaabe9c40efb47800620577b76c2868aa7172f6f7
parente7b397b02e49ab6af5bc2a30dd04c19c38e0e266
parent474872160a49e4048e5017f0bbb8d93d19267b9a
Merge pull request #20415 from eddyb/unify-expected-return

rustc_typeck: unify expected return types with formal return types to propagate coercions through calls of generic functions.

Reviewed-by: nikomatsakis