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

Ignore lifetimes from differing contexts in needless_lifetimes #10380

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

Alexendoo
Copy link
Member

Fixes #10379

changelog: [needless_lifetimes]: Don't lint signatures in macros if the lifetime is a metavariable

@rustbot
Copy link
Collaborator

rustbot commented Feb 20, 2023

r? @xFrednet

(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 Feb 20, 2023
@Alexendoo Alexendoo force-pushed the needless-lifetime-macro-expansion branch from eed49af to 0905838 Compare February 20, 2023 09:54
@xFrednet
Copy link
Member

LGTM, thank you!

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 21, 2023

📌 Commit 0905838 has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Feb 21, 2023

⌛ Testing commit 0905838 with merge 803ce88...

@bors
Copy link
Collaborator

bors commented Feb 21, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 803ce88 to master...

@bors bors merged commit 803ce88 into rust-lang:master Feb 21, 2023
@Alexendoo Alexendoo deleted the needless-lifetime-macro-expansion branch February 21, 2023 21:45
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_lifetimes: bad spans with macros (debug assertion)
4 participants