rename __default_lib_allocator -> __default_alloc_error_handler

This commit is contained in:
Ralf Jung 2020-10-09 11:39:28 +02:00
parent 1911d21866
commit b6bedc80c9

View File

@ -376,7 +376,7 @@ pub fn handle_alloc_error(layout: Layout) -> ! {
#[doc(hidden)]
#[allow(unused_attributes)]
#[unstable(feature = "alloc_internals", issue = "none")]
pub mod __default_lib_allocator {
pub mod __alloc_error_handler {
use crate::alloc::Layout;
// called via generated `__rust_alloc_error_handler`