1
Fork 0

rustc_lint: make let-underscore-lock translatable

This commit is contained in:
Pavel Grigorenko 2024-07-30 00:33:18 +03:00
parent 66e5852c3b
commit c9346a1f05
3 changed files with 9 additions and 8 deletions

View file

@ -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