Skip to content

Ignore borrow_deref_ref warnings in code from procedural macros.#10761

Merged
bors merged 1 commit into
rust-lang:masterfrom
lochetti:fix_9871
May 8, 2023
Merged

Ignore borrow_deref_ref warnings in code from procedural macros.#10761
bors merged 1 commit into
rust-lang:masterfrom
lochetti:fix_9871

Conversation

@lochetti
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

@bors r+

@bors
Copy link
Copy Markdown
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
Copy Markdown
Contributor

bors commented May 8, 2023

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

@bors
Copy link
Copy Markdown
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