]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #66983 - weiznich:bugfix/issue_66295, r=estebank
authorYuki Okushi <huyuumi.dev@gmail.com>
Thu, 12 Dec 2019 01:09:19 +0000 (10:09 +0900)
committerGitHub <noreply@github.com>
Thu, 12 Dec 2019 01:09:19 +0000 (10:09 +0900)
commitf642dc4124730da85b3d4071826e2d0025bebdbc
tree25c93f2bcbd8a694dd9b1e551a0c67a16f1dc607
parent9860a4eeb7e555b3a137b2aa0cde818d44a608dc
parentab3f4fd709fc2fcb19cda89305da08d9ae989c47
Rollup merge of #66983 - weiznich:bugfix/issue_66295, r=estebank

Fix `unused_parens` triggers on macro by example code

Fix #66295

Unfortunately this does also break [an existing test](https://github.com/rust-lang/rust/blob/4787e97475de6be9487e3d9255a9c2d3c0bf9252/src/test/ui/lint/issue-47775-nested-macro-unnecessary-parens-arg.rs#L22). I'm not sure how to handle that, because that seems to be quite similar to the allowed cases

If this gets accepted it would be great to backport this fix to beta.