]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38036 - Mark-Simulacrum:polish-2, r=nagisa,eddyb
authorbors <bors@rust-lang.org>
Tue, 6 Dec 2016 17:38:26 +0000 (17:38 +0000)
committerbors <bors@rust-lang.org>
Tue, 6 Dec 2016 17:38:26 +0000 (17:38 +0000)
commitb5d0f90929ddaae89609e9bb229a9b8a27e27615
treeefc6268d80cbe587c1e5311293ccdb51fb5857df
parent1842efbae45e348f558bc73ed3fc6bbedcbcd565
parentcc6edb27269c8d0c69035ee4c18f890b13a24e2e
Auto merge of #38036 - Mark-Simulacrum:polish-2, r=nagisa,eddyb

Simplify calling find_implied_output_region.

@nnethercote added the optimization that find_implied_output_region
takes a closure as an optimization in #37014, but passing an iterator is
simpler, and more ergonomic for callers.
src/librustc_typeck/astconv.rs