keyword_idents misses lifetime in several places #133839
Labels
A-edition-2024
Area: The 2024 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-edition
Diagnostics: An error or lint that should account for edition differences.
L-keyword_idents
Lint group: keyword_idents
L-keyword_idents_2024
Lint: keyword_idents_2024
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The
keyword_idents
lint seems to miss the lifetime in a few places. Example:The suggestions applied results in:
Notice that it missed the
'r#gen
update in the tuple struct definition, and thefor S<'gen>
position. I have not audited to see what other scenarios it is missing.Meta
The text was updated successfully, but these errors were encountered: