rust/library/alloc
bors 8649737bee Auto merge of #86810 - ojeda:alloc-gate, r=dtolnay
alloc: `no_global_oom_handling`: disable `new()`s, `pin()`s, etc.

They are infallible, and could not be actually used because
they will trigger an error when monomorphized, but it is better
to just remove them.

Link: https://github.com/Rust-for-Linux/linux/pull/402
Suggested-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2021-07-03 13:23:28 +00:00
..
benches BTree: encapsulate LeafRange better & some debug asserts 2021-06-09 12:03:07 +02:00
src Auto merge of #86810 - ojeda:alloc-gate, r=dtolnay 2021-07-03 13:23:28 +00:00
tests Lint for unused borrows as part of UNUSED_MUST_USE 2021-06-18 15:09:40 +08:00
Cargo.toml