]> git.lizzy.rs Git - rust.git/commit
Auto merge of #33319 - birkenfeld:issue31424, r=jseyfried
authorbors <bors@rust-lang.org>
Tue, 10 May 2016 21:36:46 +0000 (14:36 -0700)
committerbors <bors@rust-lang.org>
Tue, 10 May 2016 21:36:46 +0000 (14:36 -0700)
commit6dbb0e86aec11050480beb76eade6fb805010ba7
tree5a703e4f464c8f468f8eeb1ac0570828d637b3e9
parent04308ceefaaa208e636f594c7895b95950b9e44e
parentfef827672ddb0df866c77239f3fc034ed98de556
Auto merge of #33319 - birkenfeld:issue31424, r=jseyfried

borrowck: do not suggest to change "&mut self" to "&mut mut self"

Matching the snippet string might not be the cleanest, but matching
the AST node instead seems to end in a lot of nested `if let`s, so I
don't know what's better.

Of course it's entirely possible that there is another API altogether
that I just don't know of?

Fixes #31424.