1
Fork 0

lint: port while true diagnostics

Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
David Wood 2022-06-28 10:55:42 +01:00
parent 4f7b10f484
commit 588977b350
2 changed files with 6 additions and 4 deletions

View file

@ -286,3 +286,6 @@ 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
lint-builtin-while-true = denote infinite loops with `loop {"{"} ... {"}"}`
.suggestion = use `loop`