about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/tests/clone.rs2
1 files changed, 1 insertions, 1 deletions
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() {