]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99386 - AngelicosPhosphoros:add_retain_test_maybeuninit, r=JohnTitor
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Mon, 22 Aug 2022 06:15:41 +0000 (11:45 +0530)
committerGitHub <noreply@github.com>
Mon, 22 Aug 2022 06:15:41 +0000 (11:45 +0530)
commit33b5ce6433c58d4101118d58c3ae6aae0b9b1a5f
tree4f724a787ee732f0a45cf1ad1fd48dd34df8bef4
parenta4950ef7eb1bc72ede47775deea4018c7b62d40a
parent85a9c741588aaf296ce94f480e342c2bf5c131ba
Rollup merge of #99386 - AngelicosPhosphoros:add_retain_test_maybeuninit, r=JohnTitor

Add tests that check `Vec::retain` predicate execution order.

This behaviour is documented for `Vec::retain` which means that there is code that rely on that but there weren't tests about that.
library/alloc/tests/vec.rs