diff --git a/library/core/tests/clone.rs b/library/core/tests/clone.rs index e5787d79c32..2f2aa9a20f9 100644 --- a/library/core/tests/clone.rs +++ b/library/core/tests/clone.rs @@ -1,4 +1,4 @@ -#![allow(noop_method_call)] +#![cfg_attr(not(bootstrap), allow(noop_method_call))] #[test] fn test_borrowed_clone() {