diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-01-18 15:55:38 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 15:55:38 +0530 |
commit | 1ff4a1259d0508bad3ff053f06ef3155f83588f9 (patch) | |
tree | f890885fbfe8bcf43874942b07caa165d3ae9522 /tests/rustdoc-js-std/parser-errors.js | |
parent | 6f5c3c9cdb4c5a0e07d21c0aef9216a6f9ff3d5b (diff) | |
parent | 2d54b7ceb2a5c078f019fd2eacf70d59ea37555b (diff) | |
download | rust-1ff4a1259d0508bad3ff053f06ef3155f83588f9.tar.gz |
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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions