1
Fork 0

lint: port unused allocation diagnostics

Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
David Wood 2022-06-28 10:43:38 +01:00
parent e24833869f
commit 4f7b10f484
2 changed files with 8 additions and 7 deletions

View file

@ -283,3 +283,6 @@ lint-unused-delim = unnecessary {$delim} around {$item}
.suggestion = remove these {$delim}
lint-unused-import-braces = braces around {$node} is unnecessary
lint-unused-allocation = unnecessary allocation, use `&` instead
lint-unused-allocation-mut = unnecessary allocation, use `&mut` instead