Skip to content

Improve suggestion for [needless_lifetimes] #10947

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
Jun 14, 2023

Conversation

Centri3
Copy link
Member

@Centri3 Centri3 commented Jun 13, 2023

Fixes #10093

changelog: [needless_lifetimes]: Suggestion now points at the elidable lifetimes, rather than the entire function declaration

@rustbot
Copy link
Collaborator

rustbot commented Jun 13, 2023

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 Jun 13, 2023
@llogiq
Copy link
Contributor

llogiq commented Jun 14, 2023

This is a solid improvement. Thank you.

@bors r+

@bors
Copy link
Contributor

bors commented Jun 14, 2023

📌 Commit 74a0c9c has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jun 14, 2023

⌛ Testing commit 74a0c9c with merge 1b7fb40...

@bors
Copy link
Contributor

bors commented Jun 14, 2023

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

@bors bors merged commit 1b7fb40 into rust-lang:master Jun 14, 2023
@Centri3 Centri3 deleted the needless_lifetimes branch June 14, 2023 09:53
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 points at the wrong lifetime
4 participants