summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-24 00:31:42 +0100
committerGitHub <noreply@github.com>2022-12-24 00:31:42 +0100
commit61fadf805fb1400d6376c32e779c113a9d4436f8 (patch)
treeaed91d4c693cbaced2c3ed85e563f3ce82f07f3b /tests/rustdoc-js-std/parser-errors.js
parentae6107070d4c734678f141f56b7aab6c16a41014 (diff)
parenta48d2e178385a031eb4875deb09d728344d2912f (diff)
downloadrust-61fadf805fb1400d6376c32e779c113a9d4436f8.tar.gz
Rollup merge of #106084 - RalfJung:into-iter, r=thomcc
fix vec::IntoIter::drop on high-alignment ZST This fixes a soundness bug: IntoIter would call `drop_in_place` on an insufficiently aligned pointer. So if a ZST with alignment greater 1 had drop glue, that would be called with an unaligned reference. Since https://github.com/rust-lang/rust/pull/103957, Miri checks alignment even if the type does not have drop glue, which is how this bug was found. r? ``@thomcc``
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions