1
Fork 0

warn on macro_use attr

This commit is contained in:
Devin R 2020-02-26 07:40:31 -05:00
parent 36b65986af
commit 597e02dcdf
7 changed files with 88 additions and 2 deletions

View file

@ -6,7 +6,7 @@ pub use lint::Lint;
pub use lint::LINT_LEVELS;
// begin lint list, do not remove this comment, its used in `update_lints`
pub const ALL_LINTS: [Lint; 359] = [
pub const ALL_LINTS: [Lint; 360] = [
Lint {
name: "absurd_extreme_comparisons",
group: "correctness",
@ -1015,6 +1015,13 @@ pub const ALL_LINTS: [Lint; 359] = [
deprecation: None,
module: "float_literal",
},
Lint {
name: "macro_use_import",
group: "pedantic",
desc: "#[macro_use] is no longer needed",
deprecation: None,
module: "macro_use",
},
Lint {
name: "main_recursion",
group: "style",