about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
diff options
context:
space:
mode:
authorokaneco <47607823+okaneco@users.noreply.github.com>2025-02-12 02:14:33 -0500
committerokaneco <47607823+okaneco@users.noreply.github.com>2025-02-20 05:19:06 -0500
commit97bc99a18f8175bf251a902fe5956e4d42fecebb (patch)
tree40219b13637974a66276912f79bcd135f0b55426 /compiler/rustc_lint/src/builtin.rs
parentffa9afef183a3496a277c8da2e61403582a99508 (diff)
downloadrust-97bc99a18f8175bf251a902fe5956e4d42fecebb.tar.gz
rust-97bc99a18f8175bf251a902fe5956e4d42fecebb.zip
Implement feature `isolate_most_least_significant_one` for integer types
Implement accepted ACP for functions that isolate the most significant
set bit and least significant set bit on unsigned, signed, and NonZero
integers.

Add function `isolate_most_significant_one`
Add function `isolate_least_significant_one`
Add tests
Diffstat (limited to 'compiler/rustc_lint/src/builtin.rs')
0 files changed, 0 insertions, 0 deletions