From a9095ff2139fb305b15006d1f2a1ff16da0b6c29 Mon Sep 17 00:00:00 2001 From: Aaron Kofsky Date: Thu, 16 Jun 2022 21:07:00 -0400 Subject: [PATCH] Re-allow `let_underscore_drop` by default. This lint is way way too noisy to have it be `Deny` by default. --- compiler/rustc_lint/src/let_underscore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_lint/src/let_underscore.rs b/compiler/rustc_lint/src/let_underscore.rs index d40c83e311f9..2ba79aacace8 100644 --- a/compiler/rustc_lint/src/let_underscore.rs +++ b/compiler/rustc_lint/src/let_underscore.rs @@ -46,7 +46,7 @@ declare_lint! { /// calling `std::mem::drop` on the expression is clearer and helps convey /// intent. pub LET_UNDERSCORE_DROP, - Deny, + Allow, "non-binding let on a type that implements `Drop`" }