about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-28 17:53:03 +0000
committerbors <bors@rust-lang.org>2024-04-28 17:53:03 +0000
commitca1ddc0e7c8ddfb034bc1cd7c13cfdcadf8a55b6 (patch)
tree1ae6459c1614ea2958f7db8e648341fdb6409829 /library/std/src/sys/pal/unix/stack_overflow.rs
parenta18f50fe6a2ac6632f620350a9a17c1e65e00485 (diff)
parent0b1f09e6f7c8228b566f035d95b4f2b742e3d0cb (diff)
downloadrust-ca1ddc0e7c8ddfb034bc1cd7c13cfdcadf8a55b6.tar.gz
rust-ca1ddc0e7c8ddfb034bc1cd7c13cfdcadf8a55b6.zip
Auto merge of #12722 - MATSMACKE:master, r=Alexendoo
Fix false positive in `cast_possible_truncation`

Fixes [#12721](https://github.com/rust-lang/rust-clippy/issues/12721)

changelog: [`cast_possible_truncation`]:  Separated checking whether integer constant has sufficient leading zeroes to be safely casted when getting remainder from bitwise and, since the latter allows a constant on either side of the operator to increase the number of leading zeroes that can be guaranteed.
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions