1
Fork 0

add match to diagnostic messages

This commit is contained in:
Deadbeef 2023-04-29 15:47:23 +00:00
parent e92806704b
commit 475378f0c6
2 changed files with 9 additions and 4 deletions

View file

@ -51,7 +51,12 @@ lint_renamed_or_removed_lint = {$msg}
.suggestion = use the new name
lint_suspicious_double_ref_op =
using `.{$call}()` on a double reference, which returns `{$ty}` instead of {$op} the inner type
using `.{$call}()` on a double reference, which returns `{$ty}` instead of {$op ->
*[should_not_happen] [{$op}]
[deref] dereferencing
[borrow] borrowing
[clone] cloning
} the inner type
lint_unknown_lint =
unknown lint: `{$name}`