diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2021-07-02 14:55:20 +0200 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2021-07-02 14:55:20 +0200 |
| commit | 7775dffbc052f66ef80cad3c5ddc4f7e71585959 (patch) | |
| tree | f286fe0e6254982b95c8191da65d1c71e3e4c105 /compiler/rustc_query_impl/src | |
| parent | f9fa13f705bb8b1c57c6b6fe95055ec4995a40f0 (diff) | |
| download | rust-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
