-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesE-needs-testCall for participation: writing testsCall for participation: writing testsS-needs-discussionStatus: Needs further discussion before merging or work can be startedStatus: Needs further discussion before merging or work can be startedgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Description
param_attrs
is likely to be stabilized in Rust 1.39
The param_attrs
feature is going to allow lint attributes on function, method and closure parameters:
fn foo(
a: i32,
#[allow(unused_variables)] b: i32,
) {}
We should review how this feature ties in with our existing lints. Apparently it did not cause any toolstate breakage when it was merged.
Specifically, we should create a list of lints that could benefit from parameter attributes and then update those lints to make use of them (if that's even required).
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesE-needs-testCall for participation: writing testsCall for participation: writing testsS-needs-discussionStatus: Needs further discussion before merging or work can be startedStatus: Needs further discussion before merging or work can be startedgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy