about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-03-20 20:29:46 -0400
committerGitHub <noreply@github.com>2024-03-20 20:29:46 -0400
commit7a5ffccded0180807ba3de6bef06037b9ec89257 (patch)
treea6b6535380292033ba7d3f891509ba531e03923f /compiler/rustc_codegen_llvm/src/common.rs
parentc6a49220d61f904063f5374c13961949509578e6 (diff)
parent92f668c20b155736ef8278cb02456340097f0840 (diff)
downloadrust-7a5ffccded0180807ba3de6bef06037b9ec89257.tar.gz
rust-7a5ffccded0180807ba3de6bef06037b9ec89257.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions