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

Don't lint explicit_auto_deref when the initial type is neither a reference, nor a receiver #9997

Merged
merged 1 commit into from Nov 30, 2022

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Nov 30, 2022

fixes #9901
fixes #9777
changelog: explicit_auto_deref: Don't lint when the initial value is neither a reference, nor a receiver

@rustbot
Copy link
Collaborator

rustbot commented Nov 30, 2022

r? @llogiq

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

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 30, 2022
@llogiq
Copy link
Contributor

llogiq commented Nov 30, 2022

Thank you!

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 30, 2022

📌 Commit 2d32b40 has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Nov 30, 2022

⌛ Testing commit 2d32b40 with merge d7d098a...

@bors
Copy link
Collaborator

bors commented Nov 30, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing d7d098a to master...

@bors bors merged commit d7d098a into rust-lang:master Nov 30, 2022
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.

explicit_auto_deref: introduces type error explicit_auto_deref gives bad advice for lazy_static references
4 participants