Skip to content

Fix false positive for unused_parens lint - #77931

Merged
bors merged 1 commit into
rust-lang:masterfrom
aticu:fix_60336
Oct 20, 2020
Merged

Fix false positive for unused_parens lint#77931
bors merged 1 commit into
rust-lang:masterfrom
aticu:fix_60336

Conversation

@aticu

Copy link
Copy Markdown
Contributor

Fixes#60336

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @petrochenkov

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 14, 2020
@petrochenkov

Copy link
Copy Markdown
Contributor

Thanks!
@bors r+

@bors

bors commented Oct 19, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 39867f3 has been approved by petrochenkov

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 19, 2020
@JohnTitorJohnTitor mentioned this pull request Oct 20, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 20, 2020
Rollup of 10 pull requests
Successful merges:
- rust-lang#77612 (BTreeMap: test invariants more thoroughly and more readably)
- rust-lang#77761 (Assert that pthread mutex initialization succeeded)
- rust-lang#77778 ([x.py setup] Allow setting up git hooks from other worktrees)
- rust-lang#77838 (const keyword: brief paragraph on 'const fn')
- rust-lang#77923 ([net] apply clippy lints)
- rust-lang#77931 (Fix false positive for `unused_parens` lint)
- rust-lang#77959 (Tweak ui-tests structure)
- rust-lang#78105 (change name in .mailmap)
- rust-lang#78111 (Trait predicate ambiguities are not always in `Self`)
- rust-lang#78121 (Do not ICE on pattern that uses a binding multiple times in generator)
Failed merges:
r? `@ghost`
@bors
bors merged commit 378ca5e into rust-lang:masterOct 20, 2020
@rustbotrustbot added this to the 1.49.0 milestone Oct 20, 2020
@aticu
aticu deleted the fix_60336 branch October 21, 2020 07:57
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unused_parens incorrectly lints on if let true = (false && true) {}

5 participants

@aticu@rust-highfive@petrochenkov@bors@rustbot