Re-allow let_underscore_drop
by default.
This lint is way way too noisy to have it be `Deny` by default.
This commit is contained in:
parent
8807c2d8e5
commit
a9095ff213
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ declare_lint! {
|
||||||
/// calling `std::mem::drop` on the expression is clearer and helps convey
|
/// calling `std::mem::drop` on the expression is clearer and helps convey
|
||||||
/// intent.
|
/// intent.
|
||||||
pub LET_UNDERSCORE_DROP,
|
pub LET_UNDERSCORE_DROP,
|
||||||
Deny,
|
Allow,
|
||||||
"non-binding let on a type that implements `Drop`"
|
"non-binding let on a type that implements `Drop`"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue