about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Levick <ryan.levick@gmail.com>2021-01-07 11:24:32 +0100
committerRyan Levick <me@ryanlevick.com>2021-03-03 11:22:50 +0100
commitd3b49c2ed2c7bf35e6155ea25acbf657d8224eac (patch)
tree4408ce99b890e1e03df75e2dbe84a7e693cd3755
parentee65416f0d50331b5fef4360ce36538028edebf9 (diff)
downloadrust-d3b49c2ed2c7bf35e6155ea25acbf657d8224eac.tar.gz
rust-d3b49c2ed2c7bf35e6155ea25acbf657d8224eac.zip
Only allow new lint when not bootstrapping - since beta doesn't know about the lint
-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() {