From d9d1c76ded359089e97b3bb30c5b26ffd5c17396 Mon Sep 17 00:00:00 2001 From: Urgau Date: Sat, 13 May 2023 12:13:37 +0200 Subject: [PATCH] Allow undropped_manually_drops for some tests --- library/core/tests/manually_drop.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/core/tests/manually_drop.rs b/library/core/tests/manually_drop.rs index 9eac279733af9..22d72d219a758 100644 --- a/library/core/tests/manually_drop.rs +++ b/library/core/tests/manually_drop.rs @@ -1,3 +1,5 @@ +#![cfg_attr(not(bootstrap), allow(undropped_manually_drops))] + use core::mem::ManuallyDrop; #[test]