Skip to content

Commit d3b49c2

Browse files
committed
Only allow new lint when not bootstrapping - since beta doesn't know about the lint
1 parent ee65416 commit d3b49c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/tests/clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(noop_method_call)]
1+
#![cfg_attr(not(bootstrap), allow(noop_method_call))]
22

33
#[test]
44
fn test_borrowed_clone() {

0 commit comments

Comments
 (0)