Skip to content

Implement unused_parens for block return values #68479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

Tyg13
Copy link
Contributor

@Tyg13 Tyg13 commented Jan 23, 2020

Fixes #68386

r? @Centril

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Centril (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 23, 2020
@Centril
Copy link
Contributor

Centril commented Jan 23, 2020

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 23, 2020

📌 Commit 6f7e89f has been approved by Centril

@bors bors 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 Jan 23, 2020
tmandry added a commit to tmandry/rust that referenced this pull request Jan 24, 2020
Implement `unused_parens` for block return values

Fixes rust-lang#68386

r? @Centril
tmandry added a commit to tmandry/rust that referenced this pull request Jan 24, 2020
Implement `unused_parens` for block return values

Fixes rust-lang#68386

r? @Centril
bors added a commit that referenced this pull request Jan 24, 2020
Rollup of 7 pull requests

Successful merges:

 - #68424 (Suggest borrowing `Vec<NonCopy>` in for loop)
 - #68438 (Account for non-types in substs for opaque type error messages)
 - #68469 (Avoid overflow in `std::iter::Skip::count`)
 - #68473 (Enable ASan on Fuchsia)
 - #68479 (Implement `unused_parens` for block return values)
 - #68483 (Add my (@flip1995) name to .mailmap)
 - #68500 (Clear out std, not std tools)

Failed merges:

r? @ghost
@bors bors merged commit 6f7e89f into rust-lang:master Jan 24, 2020
@Tyg13 Tyg13 deleted the unused_parens_return branch January 24, 2020 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: 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 doesn't fire for trailing return expression
4 participants