diff options
| author | Paolo Borelli <pborelli@gnome.org> | 2022-04-04 18:38:38 +0200 |
|---|---|---|
| committer | Paolo Borelli <pborelli@gnome.org> | 2022-04-07 11:28:14 +0200 |
| commit | b0edbca0e6e4ce771bc5ecf54b9b35a824af07aa (patch) | |
| tree | fef49142e5caea54289a48efcf7959847438a67d /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 0d664049417976a5889e6a3354fdac00249e3a9a (diff) | |
| download | rust-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 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
