Skip to content

Lint 'static lifetimes in the type of statics/consts #1762

Closed
@oli-obk

Description

@oli-obk

see rust-lang/rust#41957 (comment) for an example

RFC 1623 allows writing const FOO: &str = "bar" instead of const FOO: &'static str = "bar"

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsT-ASTType: Requires working with the ASTgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions