]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-alloc-error-handler.rs
1 // compile-flags:-C panic=abort
6 use core
::alloc
::Layout
;
8 #[alloc_error_handler] //~ ERROR use of unstable library feature 'alloc_error_handler'
9 fn oom(info
: Layout
) -> ! {
14 fn panic(_
: &core
::panic
::PanicInfo
) -> ! {