about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2022-04-04 18:38:38 +0200
committerPaolo Borelli <pborelli@gnome.org>2022-04-07 11:28:14 +0200
commitb0edbca0e6e4ce771bc5ecf54b9b35a824af07aa (patch)
treefef49142e5caea54289a48efcf7959847438a67d /tests/codegen/src-hash-algorithm
parent0d664049417976a5889e6a3354fdac00249e3a9a (diff)
downloadrust-b0edbca0e6e4ce771bc5ecf54b9b35a824af07aa.tar.gz
rust-b0edbca0e6e4ce771bc5ecf54b9b35a824af07aa.zip
new lint cast_abs_to_unsigned
Add a lint to detect cast to unsigned for abs() and suggest
unsigned_abs() to avoid panic when called on MIN.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions