File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,6 @@ extern "Rust" {
348
348
// This is the magic symbol to call the global alloc error handler. rustc generates
349
349
// it to call `__rg_oom` if there is a `#[alloc_error_handler]`, or to call the
350
350
// default implementations below (`__rdl_oom`) otherwise.
351
- #[ rustc_allocator_nounwind]
352
351
fn __rust_alloc_error_handler ( size : usize , align : usize ) -> !;
353
352
}
354
353
@@ -367,7 +366,6 @@ extern "Rust" {
367
366
#[ stable( feature = "global_alloc" , since = "1.28.0" ) ]
368
367
#[ rustc_const_unstable( feature = "const_alloc_error" , issue = "92523" ) ]
369
368
#[ cfg( all( not( no_global_oom_handling) , not( test) ) ) ]
370
- #[ rustc_allocator_nounwind]
371
369
#[ cold]
372
370
pub const fn handle_alloc_error ( layout : Layout ) -> ! {
373
371
const fn ct_error ( _: Layout ) -> ! {
You can’t perform that action at this time.
0 commit comments