Skip to content

Commit eb68dc9

Browse files
committed
Also enable doc tests for internal lints
Because there were fixed in the parent commit.
1 parent abfa8a9 commit eb68dc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ macro_rules! declare_clippy_lint {
130130
};
131131
{ $(#[$attr:meta])* pub $name:tt, internal, $description:tt } => {
132132
declare_tool_lint! {
133-
pub clippy::$name, Allow, $description, report_in_external_macro: true
133+
$(#[$attr])* pub clippy::$name, Allow, $description, report_in_external_macro: true
134134
}
135135
};
136136
{ $(#[$attr:meta])* pub $name:tt, internal_warn, $description:tt } => {
137137
declare_tool_lint! {
138-
pub clippy::$name, Warn, $description, report_in_external_macro: true
138+
$(#[$attr])* pub clippy::$name, Warn, $description, report_in_external_macro: true
139139
}
140140
};
141141
}

0 commit comments

Comments
 (0)