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 abfa8a9 commit eb68dc9Copy full SHA for eb68dc9
clippy_lints/src/lib.rs
@@ -130,12 +130,12 @@ macro_rules! declare_clippy_lint {
130
};
131
{ $(#[$attr:meta])* pub $name:tt, internal, $description:tt } => {
132
declare_tool_lint! {
133
- pub clippy::$name, Allow, $description, report_in_external_macro: true
+ $(#[$attr])* pub clippy::$name, Allow, $description, report_in_external_macro: true
134
}
135
136
{ $(#[$attr:meta])* pub $name:tt, internal_warn, $description:tt } => {
137
138
- pub clippy::$name, Warn, $description, report_in_external_macro: true
+ $(#[$attr])* pub clippy::$name, Warn, $description, report_in_external_macro: true
139
140
141
0 commit comments