about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/validity.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-12-22 13:28:12 +0000
committerbors <bors@rust-lang.org>2024-12-22 13:28:12 +0000
commitb22856d192567a55a1d2788fbc3084e3f9cb220f (patch)
tree9a50da78770c4b315ec820c9a5e72b9b933ffe07 /compiler/rustc_const_eval/src/interpret/validity.rs
parentbace306355d7744c54fdc57e743912b042e3eba3 (diff)
parent8acccdc355b25a9c99c38a7685ad4013562d2ec8 (diff)
downloadrust-b22856d192567a55a1d2788fbc3084e3f9cb220f.tar.gz
rust-b22856d192567a55a1d2788fbc3084e3f9cb220f.zip
Auto merge of #134326 - scottmcm:slice-drop-shim-ptrmetadata, r=saethlin
Use `PtrMetadata` instead of `Len` in slice drop shims

I tried to do a bigger change in #134297 which didn't work, so here's the part I really wanted: Removing another use of `Len`, in favour of `PtrMetadata`.

Split into two commits where the first just adds a test, so you can look at the second commit to see how the drop shim for an array changes with this PR.

Reusing the same reviewer from the last one:
r? BoxyUwU
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/validity.rs')
0 files changed, 0 insertions, 0 deletions