about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-17 09:41:06 +0000
committerbors <bors@rust-lang.org>2024-04-17 09:41:06 +0000
commit9776f647e67cadaa8c5f56a04c933c72fe27ccbc (patch)
treef0f8d9c3a2dd84ce0b0cea2de92da6d3806215ca /compiler/rustc_interface/src/errors.rs
parent14701efcaf7db2406e4cbd54b4dcac632f830b87 (diff)
parent9f156d38a554eae9a07d8bd436243f005597b1c7 (diff)
downloadrust-9776f647e67cadaa8c5f56a04c933c72fe27ccbc.tar.gz
rust-9776f647e67cadaa8c5f56a04c933c72fe27ccbc.zip
Auto merge of #3480 - RalfJung:alloc_error_handler, r=RalfJung
directly call handle_alloc_error

Also test more codepaths. There's like 5 different things that can happen on allocation failure! Between `-Zoom`, `#[alloc_error_handler]`, and `set_alloc_error_hook`, we have 3 layers of behavior overrides. It's all a bit messy.

https://github.com/rust-lang/rust/pull/112331 seems intended to clean this up, but has not yet reached consensus.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions