]> git.lizzy.rs Git - rust.git/commit
Add #[must_use] to alloc constructors
authorJohn Kugelman <john@kugelman.name>
Sun, 10 Oct 2021 05:50:06 +0000 (01:50 -0400)
committerJohn Kugelman <john@kugelman.name>
Sun, 10 Oct 2021 06:19:30 +0000 (02:19 -0400)
commit58cc18c56b9d9422b376fdf5c51c20fb0e494e66
treea0e5d15bafb3840e00d59f6375606ac5d49699c7
parent6928fafe06e4ab29317f75194e1bf67c119dccdc
Add #[must_use] to alloc constructors
12 files changed:
library/alloc/src/boxed.rs
library/alloc/src/collections/binary_heap.rs
library/alloc/src/collections/btree/map.rs
library/alloc/src/collections/btree/set.rs
library/alloc/src/collections/linked_list.rs
library/alloc/src/collections/vec_deque/mod.rs
library/alloc/src/raw_vec.rs
library/alloc/src/rc.rs
library/alloc/src/string.rs
library/alloc/src/sync.rs
library/alloc/src/vec/mod.rs
src/test/ui/weak-new-uninhabited-issue-48493.rs