single_use_lifetime should not be emitted for traits with a lifetime parameter and a single function using it #55057
Labels
A-lifetimes
Area: Lifetimes / regions
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-lint-single_use_lifetimes
`single_use_lifetimes` lint
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Repro (on 1.27-stable to 1.31-nightly):
Unexpected lint result:
cc #44752
The text was updated successfully, but these errors were encountered: