Skip to content

Commit 2fa85d8

Browse files
committed
Rustup
1 parent 1f65617 commit 2fa85d8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

clippy_lints/src/lib.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,34 @@ use rustc_plugin;
2020

2121
macro_rules! declare_clippy_lint {
2222
{ pub $name:tt, style, $description:tt } => {
23-
declare_lint! { pub $name, Warn, $description }
23+
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
2424
};
2525
{ pub $name:tt, correctness, $description:tt } => {
26-
declare_lint! { pub $name, Deny, $description }
26+
declare_lint! { pub $name, Deny, $description, report_in_external_macro }
2727
};
2828
{ pub $name:tt, complexity, $description:tt } => {
29-
declare_lint! { pub $name, Warn, $description }
29+
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
3030
};
3131
{ pub $name:tt, perf, $description:tt } => {
32-
declare_lint! { pub $name, Warn, $description }
32+
declare_lint! { pub $name, Warn, $description, report_in_external_macro }
3333
};
3434
{ pub $name:tt, pedantic, $description:tt } => {
35-
declare_lint! { pub $name, Allow, $description }
35+
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
3636
};
3737
{ pub $name:tt, restriction, $description:tt } => {
38-
declare_lint! { pub $name, Allow, $description }
38+
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
3939
};
4040
{ pub $name:tt, cargo, $description:tt } => {
41-
declare_lint! { pub $name, Allow, $description }
41+
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
4242
};
4343
{ pub $name:tt, nursery, $description:tt } => {
44-
declare_lint! { pub $name, Allow, $description }
44+
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
4545
};
4646
{ pub $name:tt, internal, $description:tt } => {
47-
declare_lint! { pub $name, Allow, $description }
47+
declare_lint! { pub $name, Allow, $description, report_in_external_macro }
4848
};
4949
{ 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 }
5151
};
5252
}
5353

0 commit comments

Comments
 (0)