about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-08-13 07:03:52 +0200
committerGitHub <noreply@github.com>2025-08-13 07:03:52 +0200
commit8cb78fe3b63ab1f83d084411cb1f768ce9443a3d (patch)
treeb4277e319a2c50fa0ebec963b40249ee3800c804 /compiler/rustc_codegen_ssa/src/codegen_attrs.rs
parentc4e82abe93f19878ba0ee09779ef18a53896150e (diff)
parentd6945f6d8c15bd692000cd7f8d76d171ae27b8c9 (diff)
downloadrust-8cb78fe3b63ab1f83d084411cb1f768ce9443a3d.tar.gz
rust-8cb78fe3b63ab1f83d084411cb1f768ce9443a3d.zip
Rollup merge of #145325 - clarfonthey:cast-init, r=scottmcm
Add `cast_init` and `cast_uninit` methods for pointers

ACP: rust-lang/libs-team#627
Tracking issue: rust-lang/rust#145036

This includes an incredibly low-effort search to find uses that could be switched to using these methods. I only searched for `cast::<\w>` and `cast::<MaybeUninit` because there would otherwise be way too much to look through, and I also didn't modify anything inside submodules/subtrees.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/codegen_attrs.rs')
0 files changed, 0 insertions, 0 deletions