diff --git a/core/tests/manually_drop.rs b/core/tests/manually_drop.rs index 9eac27973..22d72d219 100644 --- a/core/tests/manually_drop.rs +++ b/core/tests/manually_drop.rs @@ -1,3 +1,5 @@ +#![cfg_attr(not(bootstrap), allow(undropped_manually_drops))] + use core::mem::ManuallyDrop; #[test]