Skip to content

Commit

Permalink
Auto merge of #10222 - Alexendoo:needless-lifetime-suggestion, r=flip…
Browse files Browse the repository at this point in the history
…1995

Add machine applicable suggestion for `needless_lifetimes`

changelog: [`needless_lifetimes`]: Add machine applicable suggestion

Fixes #9360

It doesn't make suggestions for async functions as the input lifetime spans are funky there

The examples in #5787 and #7271 no longer seem to FP this PR aside, I added tests for them rather than disabling the lint entirely for async functions, I don't know if there are further FPs there though

Closes #5787
Closes #7271
  • Loading branch information
bors committed Jan 31, 2023
2 parents 607e3e8 + 6a8b202 commit b5a4fa1
Show file tree
Hide file tree
Showing 6 changed files with 1,019 additions and 182 deletions.

0 comments on commit b5a4fa1

Please sign in to comment.