Skip to content

Lint pass to flag unneeded qualified names #2551

Closed
@catamorphism

Description

@catamorphism

I noticed that in ty, there was some code that referred to ast::m_mutbl even though ty imports syntax::ast::*, so it could just be m_mutbl. There should be a lint pass to point out these cases so as to reduce the amount of random noise in code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions