summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2023-01-16 21:39:36 +0100
committerThe 8472 <git@infinite-source.de>2023-01-17 22:01:33 +0100
commit47014b1bb968be08923a670b1ebfe4deb4256601 (patch)
treeacff87ab6d745ea43d48a0eaf2c7a907b893e185 /tests/rustdoc-js-std/parser-errors.js
parent481725984b4cd94ef5c00917b01c1771b6e5299c (diff)
downloadrust-47014b1bb968be08923a670b1ebfe4deb4256601.tar.gz
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions