Skip to content

Lint for unused syntax variables in macros #18820

Closed
@huonw

Description

@huonw

E.g.

macro_rules! foo {
    ($func: ident) => { () } // warning: unused syntax variable `func`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions