Skip to content

Conversation

@dswij
Copy link
Member

@dswij dswij commented Jun 2, 2022

closes #8879

Macro expressions in returns were not checked by needless_return. The test added in this commit seems to have regressed.

changelog: [needless_return] checks for macro exprs in return statements

@rust-highfive
Copy link

r? @giraffate

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 2, 2022
@giraffate
Copy link
Contributor

@bors r+

It looks good, thanks!

@bors
Copy link
Contributor

bors commented Jun 3, 2022

📌 Commit 678dcdd has been approved by giraffate

@bors
Copy link
Contributor

bors commented Jun 3, 2022

⌛ Testing commit 678dcdd with merge 1194c63...

@bors
Copy link
Contributor

bors commented Jun 3, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 1194c63 to master...

@bors bors merged commit 1194c63 into rust-lang:master Jun 3, 2022
@dswij dswij deleted the pr-8879 branch June 3, 2022 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

single line return not emitting warning

4 participants