diff options
| author | Ralf Jung <post@ralfj.de> | 2020-10-09 11:39:28 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-10-09 11:39:28 +0200 |
| commit | b6bedc80c9922833d92e81c6bf91eb5b24e11c86 (patch) | |
| tree | d8100db003df23f299fe9506fd5c0f387f36ab44 /library/alloc/src | |
| parent | 1911d2186683e4b9818ea16225b4f909c6e2b070 (diff) | |
| download | rust-b6bedc80c9922833d92e81c6bf91eb5b24e11c86.tar.gz rust-b6bedc80c9922833d92e81c6bf91eb5b24e11c86.zip | |
rename __default_lib_allocator -> __default_alloc_error_handler
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs index 82c9e4482d5..4646d4a8335 100644 --- a/library/alloc/src/alloc.rs +++ b/library/alloc/src/alloc.rs @@ -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` |
