Skip to content

Ignore borrow_deref_ref warnings in code from procedural macros. #10761

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
May 8, 2023

Conversation

lochetti
Copy link
Contributor

@lochetti lochetti commented May 7, 2023

Don't linting borrow_deref_ref if code was generated by procedural macro.

This PR fixes #8971

changelog: [borrow_deref_ref] avoiding warnings in macro-generated code

@rustbot
Copy link
Collaborator

rustbot commented May 7, 2023

r? @Manishearth

(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 May 7, 2023
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented May 8, 2023

📌 Commit 394b4c1 has been approved by Manishearth

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 8, 2023

⌛ Testing commit 394b4c1 with merge 90ce1a2...

@bors
Copy link
Contributor

bors commented May 8, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing 90ce1a2 to master...

@bors bors merged commit 90ce1a2 into rust-lang:master May 8, 2023
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.

Can't ignore clippy::borrow_deref_ref
4 participants