Skip to content

Stuttter lint #904

@bbatha

Description

@bbatha

Clippy should lint for stuttered names. For instance,

    mod foo {
            struct FooBar {}
    }

Should warn the that users will write the type foo::FooBar and suggest the the name foo::Bar instead. This lint should probably be default allow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions