about summary refs log tree commit diff
path: root/tests/ui/proc-macro
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-15 14:47:10 +0000
committerbors <bors@rust-lang.org>2025-07-15 14:47:10 +0000
commit3014e79f9c8d5510ea7b3a3b70d171d0948b1e96 (patch)
treea98190833007bcd5ad9ad6d25dc4a3853d2ab7a4 /tests/ui/proc-macro
parente27f16a499074ba9a87f7f7641d9f64c572863bc (diff)
parenta74a28493a00900616d5e52cd85b8b6bae761935 (diff)
downloadrust-3014e79f9c8d5510ea7b3a3b70d171d0948b1e96.tar.gz
rust-3014e79f9c8d5510ea7b3a3b70d171d0948b1e96.zip
Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlin
`std::vec`: Add UB check for `set_len`, `from_raw_parts_in`, and etc.

Closes rust-lang/rust#143813

I noticed that `from_parts_in` do the similar things like `from_raw_parts_in`, so I add the UB check in the last commit. If it is not appropriate, I will remove it.

And I fix a typo in the first commit.

r? `@scottmcm`
Diffstat (limited to 'tests/ui/proc-macro')
0 files changed, 0 insertions, 0 deletions