Only allow new lint when not bootstrapping - since beta doesn't know about the lint

This commit is contained in:
Ryan Levick 2021-01-07 11:24:32 +01:00 committed by Ryan Levick
parent ee65416f0d
commit d3b49c2ed2

View File

@ -1,4 +1,4 @@
#![allow(noop_method_call)]
#![cfg_attr(not(bootstrap), allow(noop_method_call))]
#[test]
fn test_borrowed_clone() {