Rollup merge of #141682 - nia-e:fixup-alloc, r=RalfJung

interpret/allocation: Fixup type for `alloc_bytes`

This can be `FnOnce`, which helps us avoid an extra clone in rust-lang/miri#4343

r? RalfJung
This commit is contained in:
Jacob Pratt 2025-05-29 04:49:45 +02:00 committed by GitHub
commit 3d531a4c5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available