Files
rust/library/alloc/src
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
..
2022-09-26 10:14:45 +02:00
2022-08-18 18:07:39 -04:00
2022-12-28 09:18:43 -05:00