Skip to content

Commit a9095ff

Browse files
committed
Re-allow let_underscore_drop by default.
This lint is way way too noisy to have it be `Deny` by default.
1 parent 8807c2d commit a9095ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/let_underscore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ declare_lint! {
4646
/// calling `std::mem::drop` on the expression is clearer and helps convey
4747
/// intent.
4848
pub LET_UNDERSCORE_DROP,
49-
Deny,
49+
Allow,
5050
"non-binding let on a type that implements `Drop`"
5151
}
5252

0 commit comments

Comments
 (0)