Fix the misleading diagnostic for let_underscore_drop on type without Drop implementation
This commit is contained in:
@@ -51,7 +51,7 @@ declare_lint! {
|
||||
/// intent.
|
||||
pub LET_UNDERSCORE_DROP,
|
||||
Allow,
|
||||
"non-binding let on a type that implements `Drop`"
|
||||
"non-binding let on a type that has a destructor"
|
||||
}
|
||||
|
||||
declare_lint! {
|
||||
|
||||
Reference in New Issue
Block a user