Skip to content
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

needless_question_mark: don't lint if Some(..) is inside a macro def and the ? is not. #6935

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

matthiaskrgr
Copy link
Member

The suggestion would fail to apply.

Fixes #6921

changelog: needless_question_mark: don't lint if Some(..) is inside a macro def and the ? is not.

…and the ? is not.

The suggestion would fail to apply.

Fixes rust-lang#6921

changelog: needless_question_mark: don't lint if Some(..) is inside a macro def and the ? is not.
@rust-highfive
Copy link

r? @flip1995

(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 Mar 18, 2021
@flip1995
Copy link
Member

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Mar 19, 2021

📌 Commit b42ec5e has been approved by flip1995

@bors
Copy link
Contributor

bors commented Mar 19, 2021

⌛ Testing commit b42ec5e with merge 0d2e2b5...

@bors
Copy link
Contributor

bors commented Mar 19, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 0d2e2b5 to master...

@bors bors merged commit 0d2e2b5 into rust-lang:master Mar 19, 2021
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.

needless_question_mark follows macros and suggests to replace code inside the macro definition
4 participants