@@ -20,34 +20,34 @@ use rustc_plugin;
20
20
21
21
macro_rules! declare_clippy_lint {
22
22
{ pub $name: tt, style, $description: tt } => {
23
- declare_lint! { pub $name, Warn , $description, report_in_external_macro }
23
+ declare_lint! { pub $name, Warn , $description, report_in_external_macro: true }
24
24
} ;
25
25
{ pub $name: tt, correctness, $description: tt } => {
26
- declare_lint! { pub $name, Deny , $description, report_in_external_macro }
26
+ declare_lint! { pub $name, Deny , $description, report_in_external_macro: true }
27
27
} ;
28
28
{ pub $name: tt, complexity, $description: tt } => {
29
- declare_lint! { pub $name, Warn , $description, report_in_external_macro }
29
+ declare_lint! { pub $name, Warn , $description, report_in_external_macro: true }
30
30
} ;
31
31
{ pub $name: tt, perf, $description: tt } => {
32
- declare_lint! { pub $name, Warn , $description, report_in_external_macro }
32
+ declare_lint! { pub $name, Warn , $description, report_in_external_macro: true }
33
33
} ;
34
34
{ pub $name: tt, pedantic, $description: tt } => {
35
- declare_lint! { pub $name, Allow , $description, report_in_external_macro }
35
+ declare_lint! { pub $name, Allow , $description, report_in_external_macro: true }
36
36
} ;
37
37
{ pub $name: tt, restriction, $description: tt } => {
38
- declare_lint! { pub $name, Allow , $description, report_in_external_macro }
38
+ declare_lint! { pub $name, Allow , $description, report_in_external_macro: true }
39
39
} ;
40
40
{ pub $name: tt, cargo, $description: tt } => {
41
- declare_lint! { pub $name, Allow , $description, report_in_external_macro }
41
+ declare_lint! { pub $name, Allow , $description, report_in_external_macro: true }
42
42
} ;
43
43
{ pub $name: tt, nursery, $description: tt } => {
44
- declare_lint! { pub $name, Allow , $description, report_in_external_macro }
44
+ declare_lint! { pub $name, Allow , $description, report_in_external_macro: true }
45
45
} ;
46
46
{ pub $name: tt, internal, $description: tt } => {
47
- declare_lint! { pub $name, Allow , $description, report_in_external_macro }
47
+ declare_lint! { pub $name, Allow , $description, report_in_external_macro: true }
48
48
} ;
49
49
{ pub $name: tt, internal_warn, $description: tt } => {
50
- declare_lint! { pub $name, Warn , $description, report_in_external_macro }
50
+ declare_lint! { pub $name, Warn , $description, report_in_external_macro: true }
51
51
} ;
52
52
}
53
53
0 commit comments