Fix lint_without_lint_pass

This commit is contained in:
Michael Wright
2018-10-12 08:09:04 +02:00
committed by flip1995
parent 3971c42458
commit 267d5d3433
4 changed files with 51 additions and 6 deletions

View File

@@ -48,6 +48,7 @@ use toml;
// Currently, categories "style", "correctness", "complexity" and "perf" are enabled by default,
// as said in the README.md of this repository. If this changes, please update README.md.
#[macro_export]
macro_rules! declare_clippy_lint {
{ pub $name:tt, style, $description:tt } => {
declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }