diff options
| author | Aaron Kofsky <aaronko@umich.edu> | 2022-06-16 21:07:00 -0400 |
|---|---|---|
| committer | Aaron Kofsky <aaronko@umich.edu> | 2022-06-17 00:07:30 -0400 |
| commit | a9095ff2139fb305b15006d1f2a1ff16da0b6c29 (patch) | |
| tree | 4b29dd0d4880eb856f63ad633b4cf2d301be3013 | |
| parent | 8807c2d8e512668a6f09ddb14c6742bf28e66816 (diff) | |
| download | rust-a9095ff2139fb305b15006d1f2a1ff16da0b6c29.tar.gz rust-a9095ff2139fb305b15006d1f2a1ff16da0b6c29.zip | |
Re-allow `let_underscore_drop` by default.
This lint is way way too noisy to have it be `Deny` by default.
| -rw-r--r-- | compiler/rustc_lint/src/let_underscore.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/let_underscore.rs b/compiler/rustc_lint/src/let_underscore.rs index d40c83e311f..2ba79aacace 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`" } |
