Lint 'static
lifetimes in the type of statics/consts
#1762
Labels
A-lint
Area: New lints
good first issue
These issues are a good way to get started with Clippy
T-AST
Type: Requires working with the AST
see rust-lang/rust#41957 (comment) for an example
RFC 1623 allows writing
const FOO: &str = "bar"
instead ofconst FOO: &'static str = "bar"
The text was updated successfully, but these errors were encountered: