]> git.lizzy.rs Git - rust.git/commit
fix aliasing in remove()
authorRalf Jung <post@ralfj.de>
Mon, 30 Mar 2020 11:11:37 +0000 (13:11 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 30 Mar 2020 11:24:55 +0000 (13:24 +0200)
commit8f479e362fbfcb31e83396ef850ab5219a32821e
tree554fe3c0bb7f31547838633cc47b8b80b8498084
parent4eacf45c9cf6bd110dc019082c2a4a8fd9668d66
fix aliasing in remove()

also add smoke test to detect relocation even in rustc runs
src/liballoc/tests/vec.rs
src/liballoc/vec.rs