Skip to content

On "const should be uppercase" lint, use structured suggestion #52414

Closed
@estebank

Description

@estebank

On the non_upper_case_globals lint, use span_suggestion to suggest the uppercase name.

We might want to consider applying the change everywhere the const is actually mentioned, which might be a big undertaking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions