Fix the misleading diagnostic for let_underscore_drop on type without Drop implementation
This commit is contained in:
parent
3f99982c63
commit
58921874cb
8 changed files with 10 additions and 10 deletions
|
@ -531,7 +531,7 @@ lint_non_binding_let_multi_suggestion =
|
|||
consider immediately dropping the value
|
||||
|
||||
lint_non_binding_let_on_drop_type =
|
||||
non-binding let on a type that implements `Drop`
|
||||
non-binding let on a type that has a destructor
|
||||
|
||||
lint_non_binding_let_on_sync_lock = non-binding let on a synchronization lock
|
||||
.label = this lock is not assigned to a binding and is immediately dropped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue