Dylan DPC 1ff4a1259d
Rollup merge of #106950 - the8472:fix-splice-miri, r=cuviper
Don't do pointer arithmetic on pointers to deallocated memory

vec::Splice can invalidate the slice::Iter inside vec::Drain. So we replace them with dangling pointers which, unlike ones to deallocated memory, are allowed.

Fixes miri test failures.
Fixes https://github.com/rust-lang/miri/issues/2759
2023-01-18 15:55:38 +05:30
..
2023-01-17 22:26:48 +00:00
2023-01-17 08:55:28 -07:00
2023-01-17 22:01:33 +01:00
2023-01-09 17:04:14 -08:00
2023-01-12 02:28:37 +00:00
2023-01-11 12:13:35 -07:00