about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-11 22:03:46 +0000
committerbors <bors@rust-lang.org>2021-01-11 22:03:46 +0000
commit7f4599a84822345115411d1aad4a7c3c4a66142f (patch)
treefe7972ec2b8d19c573dd243f6b8170c0416c4510 /library/std/src/sys/unix/stack_overflow.rs
parent1eed27f374e0c67e289c83cff47f251ba0ab853c (diff)
parent53f87310cd2fd965daf22f155cb4a2536ef8c8c6 (diff)
downloadrust-7f4599a84822345115411d1aad4a7c3c4a66142f.tar.gz
rust-7f4599a84822345115411d1aad4a7c3c4a66142f.zip
Auto merge of #6557 - rail-rain:extending_cast_ptr_alignment, r=phansch
Catch `pointer::cast` too in `cast_ptr_alignment`

Fixes #4708

Although there were some discussion in the issue, this PR implements the original feature. I think `cast_ptr_alignment` should exist as it is, separated from `ptr_as_ptr`.

---

changelog: Extend `cast_ptr_alignment` lint for the `pointer::cast` method
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions