Skip to content

unused variable / dead assignment warnings should have lint modes #3266

Closed
@nikomatsakis

Description

@nikomatsakis

RIght now, they are always issued as warnings without any control from the user. To hook into the lint system, the liveness code has to be modified to thread along an expr/item id. Not a huge deal but sufficiently annoying I didn't do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions