about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2025-09-11 19:58:54 +0000
committerGitHub <noreply@github.com>2025-09-11 19:58:54 +0000
commitc057abd26879b5c398c2878d434ec621e009b9f0 (patch)
treea84398858c0c8c2bf36dc92a102852605f9aaaf3 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent467efe0cf6f3275653faa54f601d87714b352adb (diff)
parent4e286bb8fb305d6ba864ff8b2c806b4fd189657a (diff)
downloadrust-c057abd26879b5c398c2878d434ec621e009b9f0.tar.gz
rust-c057abd26879b5c398c2878d434ec621e009b9f0.zip
Add suggestion to `cast_sign_loss` and `cast_possible_wrap` using the `cast_{un,}signed()` methods (#15384)
changelog: [`cast_sign_loss`, `cast_possible_wrap`]: add suggestion
using `cast_{un,}signed()` methods

Fixes rust-lang/rust-clippy#14150

This PR adds a suggestion to `cast_sign_loss` and `cast_possible_wrap`,
which fixes reported warnings using the `cast_{un,}signed()` methods, as
proposed in rust-lang/rust-clippy#14150. Suggestions are only made if
MSRV is >=1.87.

Also, I'm not 100% sure about the suggestion message yet. I'm open for
suggestions.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions