about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel E. Moelius III <sam@moeli.us>2020-11-07 18:26:14 -0500
committerSamuel E. Moelius III <sam@moeli.us>2020-11-08 07:00:35 -0500
commitf1f780c9422f038ae78e72a99b1ca2a0d7b392bc (patch)
tree8de0cea1a46e40758688b34fc2d6537e95d36d63 /src
parent96d5f45adee883c565062fbb44de7ea29918539d (diff)
downloadrust-f1f780c9422f038ae78e72a99b1ca2a0d7b392bc.tar.gz
rust-f1f780c9422f038ae78e72a99b1ca2a0d7b392bc.zip
Add let_underscore_drop
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index bc0a0ad2b17..8b5e6cc916f 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1118,6 +1118,13 @@ vec![
         module: "returns",
     },
     Lint {
+        name: "let_underscore_drop",
+        group: "correctness",
+        desc: "non-binding let on a type that implements `Drop`",
+        deprecation: None,
+        module: "let_underscore",
+    },
+    Lint {
         name: "let_underscore_lock",
         group: "correctness",
         desc: "non-binding let on a synchronization lock",