Skip to content

Improvement: Don't show function body in needless_lifetimes #5323

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
Mar 20, 2020

Conversation

rabisg0
Copy link
Contributor

@rabisg0 rabisg0 commented Mar 16, 2020

Changes the span on which the lint is reported to point to only the
function return type instead of the entire function body.
Fixes #5284

changelog: none

@flip1995 flip1995 added the S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) label Mar 18, 2020
Changes the span on which the lint is reported to point to only the
function return type instead of the entire function body.
Fixes rust-lang#5284
@flip1995
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Mar 20, 2020

📌 Commit 0812a0a has been approved by flip1995

@bors
Copy link
Contributor

bors commented Mar 20, 2020

⌛ Testing commit 0812a0a with merge 0e5e2c4...

@bors
Copy link
Contributor

bors commented Mar 20, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 0e5e2c4 to master...

@bors bors merged commit 0e5e2c4 into rust-lang:master Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

needless_lifetimes: don't show function body?
4 participants