rust/compiler
Matthias Krüger 4139018cfb
Rollup merge of #131593 - RalfJung:alloc-no-clone, r=saethlin
miri: avoid cloning AllocExtra

We shouldn't be cloning Miri allocations, so make `AllocExtra::clone` panic instead, and adjust the one case where we *do* clone (the leak check) to avoid cloning.

This is in preparation for https://github.com/rust-lang/miri/pull/3966 where I am adding something to `AllocExtra` that cannot (easily) be cloned.

r? ``@saethlin``
2024-10-14 06:04:29 +02:00
..
2024-10-12 10:59:12 +02:00
2024-10-09 10:28:16 -07:00
2024-10-04 23:28:22 +00:00
2024-10-10 06:07:52 -04:00
2024-10-12 21:57:50 +00:00
2024-10-12 17:07:13 -04:00
2024-10-12 21:57:50 +00:00
2024-10-10 11:46:48 -07:00