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