about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-03 13:23:28 +0000
committerbors <bors@rust-lang.org>2021-07-03 13:23:28 +0000
commit8649737beefccbef2d6bc0113df4650dd05ad7f2 (patch)
tree9cbcefba65969821b5d2de4c428727bcd7b60872 /compiler/rustc_query_impl/src
parenta8b8558f083d86247ef3260ebb4f97b276cdbf73 (diff)
parent7775dffbc052f66ef80cad3c5ddc4f7e71585959 (diff)
downloadrust-8649737beefccbef2d6bc0113df4650dd05ad7f2.tar.gz
rust-8649737beefccbef2d6bc0113df4650dd05ad7f2.zip
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>
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions