lint: port missing copy impl diagnostics
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
82bd2c23e5
commit
28655bc955
2 changed files with 3 additions and 5 deletions
|
@ -326,3 +326,5 @@ lint-builtin-decl-unsafe-method = declaration of an `unsafe` method
|
|||
lint-builtin-impl-unsafe-method = implementation of an `unsafe` method
|
||||
|
||||
lint-builtin-missing-doc = missing documentation for {$article} {$desc}
|
||||
|
||||
lint-builtin-missing-copy-impl = type could implement `Copy`; consider adding `impl Copy`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue