]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #52106 - PramodBisht:issue/52049, r=oli-obk
authorbors <bors@rust-lang.org>
Sun, 8 Jul 2018 14:08:36 +0000 (14:08 +0000)
committerbors <bors@rust-lang.org>
Sun, 8 Jul 2018 14:08:36 +0000 (14:08 +0000)
Don't suggest `let` bindings if they don't help with borrows

@oli-obk I have added a condition to address #52049, right now, this is on WIP because I think code change is also required on `error_reporting.rs`. Plus I need to check if any test cases fail.
I will ping you again if everything passes

r? @oli-obk

1  2 
src/librustc_borrowck/borrowck/mod.rs

Simple merge