]> git.lizzy.rs Git - rust.git/commit
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)
commit0e6b713dd51e07e7c38ed0fe3f1273e648bfd056
treecda18a6e7075b0911fc7e4a2dd4cd9dd1bf1e3eb
parent0c0315cfd9750db7793b83bc59dfd353c5dd1624
parentab767eecb00847df456fa519a07b9ee96d786000
Auto merge of #52106 - PramodBisht:issue/52049, r=oli-obk

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
src/librustc_borrowck/borrowck/mod.rs