rustc_lint: make let-underscore-lock
translatable
This commit is contained in:
parent
66e5852c3b
commit
c9346a1f05
3 changed files with 9 additions and 8 deletions
|
@ -518,8 +518,8 @@ lint_non_binding_let_multi_suggestion =
|
|||
lint_non_binding_let_on_drop_type =
|
||||
non-binding let on a type that implements `Drop`
|
||||
|
||||
lint_non_binding_let_on_sync_lock =
|
||||
non-binding let on a synchronization lock
|
||||
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
|
||||
|
||||
lint_non_binding_let_suggestion =
|
||||
consider binding to an unused variable to avoid immediately dropping the value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue