rust/library/alloc
Jacob Pratt 7a5ffccded
Rollup merge of #122765 - workingjubilee:test-for-vec-handling-usize-max, r=Nilstrieb
Add `usize::MAX` arg tests for Vec

Tests to prevent recurrence of the UB from the rust-lang/rust#122760 issue.

I skipped the `with_capacity`, `drain`, `reserve`, etc. APIs because they actually had a good assortment of tests earlier in the same file.

r? Nilstrieb
2024-03-20 20:29:46 -04:00
..
benches remove redundant imports 2023-12-10 10:56:22 +08:00
src Rollup merge of #122729 - m-ou-se:relax, r=Amanieu 2024-03-20 20:29:44 -04:00
tests Add usize::MAX arg tests for Vec 2024-03-20 01:21:19 -07:00
Cargo.toml Rename {collections=>alloc}{tests,benches} 2023-11-26 12:04:56 +00:00