about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDevin R <devin.ragotzy@gmail.com>2020-02-26 07:40:31 -0500
committerDevin R <devin.ragotzy@gmail.com>2020-03-04 09:36:02 -0500
commit597e02dcdf28e9cfbb7854bca38c28f2e4d15425 (patch)
tree392a1f3d02eeb5b7e94d0435ff78a2daaf4cdd46 /src
parent36b65986afbc9f41535b1a08c8fb9454ce5bf48c (diff)
downloadrust-597e02dcdf28e9cfbb7854bca38c28f2e4d15425.tar.gz
rust-597e02dcdf28e9cfbb7854bca38c28f2e4d15425.zip
warn on macro_use attr
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 2b93e4279f0..1635ff7babd 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -6,7 +6,7 @@ pub use lint::Lint;
 pub use lint::LINT_LEVELS;
 
 // begin lint list, do not remove this comment, it’s used in `update_lints`
-pub const ALL_LINTS: [Lint; 359] = [
+pub const ALL_LINTS: [Lint; 360] = [
     Lint {
         name: "absurd_extreme_comparisons",
         group: "correctness",
@@ -1016,6 +1016,13 @@ pub const ALL_LINTS: [Lint; 359] = [
         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",
         desc: "recursion using the entrypoint",