]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #6931 - Jarcho:needless_borrow, r=phansch,flip1995
authorbors <bors@rust-lang.org>
Tue, 6 Apr 2021 15:30:48 +0000 (15:30 +0000)
committerbors <bors@rust-lang.org>
Tue, 6 Apr 2021 15:30:48 +0000 (15:30 +0000)
Fix all occurences `needless_borrow` internally

The bug that got 'needless_borrow' moved into the nursery was fixed two years ago in d4370f8b.

This did trigger over a thousand times internally, so that's all the other changes. I vetted most of them, but there's a lot The only interesting change is to the lint list. `declare_tool_lint` already makes a reference, so there's no need to take a reference to the lints.

changelog: None


Trivial merge