We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84f7212 commit b99277fCopy full SHA for b99277f
clippy_lints/src/declare_clippy_lint.rs
@@ -4,7 +4,7 @@ macro_rules! declare_clippy_lint {
4
(@
5
$(#[doc = $lit:literal])*
6
pub $lint_name:ident,
7
- $category:ident,
+ $level:ident,
8
$lintcategory:expr,
9
$desc:literal,
10
$version_expr:expr,
@@ -15,7 +15,7 @@ macro_rules! declare_clippy_lint {
15
$(#[doc = $lit])*
16
#[clippy::version = $version_lit]
17
pub clippy::$lint_name,
18
- $category,
+ $level,
19
$desc,
20
report_in_external_macro:true
21
$(, @eval_always = $eval_always)?
0 commit comments