Skip to content

Move the unused imports check into the lint pass #1634

Closed
@brson

Description

@brson

This is just a style warning. Extract the unused import analysis from resolve and move it to lint.

Give it a #[lint(...)] crate attribute, like no_ctypes has.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions