about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2021-07-02 14:55:20 +0200
committerMiguel Ojeda <ojeda@kernel.org>2021-07-02 14:55:20 +0200
commit7775dffbc052f66ef80cad3c5ddc4f7e71585959 (patch)
treef286fe0e6254982b95c8191da65d1c71e3e4c105 /compiler/rustc_query_impl/src
parentf9fa13f705bb8b1c57c6b6fe95055ec4995a40f0 (diff)
downloadrust-7775dffbc052f66ef80cad3c5ddc4f7e71585959.tar.gz
rust-7775dffbc052f66ef80cad3c5ddc4f7e71585959.zip
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