diff options
| author | bors <bors@rust-lang.org> | 2022-04-07 13:17:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-07 13:17:28 +0000 |
| commit | 574bf88e3e85399241683805c43d1524ff704c8e (patch) | |
| tree | ad935a2537b94526233e396bf94af2843e1564f3 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 650a0e52b895be903b5e910964d6bd5a49c32433 (diff) | |
| parent | f2bbb5fac0bd21c2ccd06f27c3b99d4f7ed51841 (diff) | |
| download | rust-574bf88e3e85399241683805c43d1524ff704c8e.tar.gz rust-574bf88e3e85399241683805c43d1524ff704c8e.zip | |
Auto merge of #8635 - pbor:unsigned-abs, r=giraffate
Add a lint to detect cast to unsigned for abs() and suggest unsigned_… …abs() changelog: Add a [`cast_abs_to_unsigned`] that checks for uses of `abs()` that are cast to the corresponding unsigned integer type and suggest to replace them with `unsigned_abs()`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
