From 511333fcc41c2a70ece7fa8bd5e0a70adfcb84fd Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Sat, 11 Sep 2021 23:24:55 +0100 Subject: Use Rvalue::ShallowInitBox for box expression --- library/alloc/src/alloc.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'library/alloc') diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs index 3ed3c2382ca..4a5b0fcf037 100644 --- a/library/alloc/src/alloc.rs +++ b/library/alloc/src/alloc.rs @@ -307,7 +307,6 @@ unsafe impl Allocator for Global { } /// The allocator for unique pointers. -// This function must not unwind. If it does, MIR codegen will fail. #[cfg(all(not(no_global_oom_handling), not(test)))] #[lang = "exchange_malloc"] #[inline] -- cgit 1.4.1-3-g733a5