Also enable doc tests for internal lints

Because there were fixed in the parent commit.
This commit is contained in:
Philipp Hansch 2019-08-03 08:12:53 +02:00
parent abfa8a952c
commit eb68dc9a1a
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6

View file

@ -130,12 +130,12 @@ macro_rules! declare_clippy_lint {
};
{ $(#[$attr:meta])* pub $name:tt, internal, $description:tt } => {
declare_tool_lint! {
pub clippy::$name, Allow, $description, report_in_external_macro: true
$(#[$attr])* pub clippy::$name, Allow, $description, report_in_external_macro: true
}
};
{ $(#[$attr:meta])* pub $name:tt, internal_warn, $description:tt } => {
declare_tool_lint! {
pub clippy::$name, Warn, $description, report_in_external_macro: true
$(#[$attr])* pub clippy::$name, Warn, $description, report_in_external_macro: true
}
};
}