diff --git a/clippy_lints/src/implicit_hasher.rs b/clippy_lints/src/implicit_hasher.rs index 03fe0d16d48..9a040ca572a 100644 --- a/clippy_lints/src/implicit_hasher.rs +++ b/clippy_lints/src/implicit_hasher.rs @@ -1,4 +1,4 @@ -#![allow(rustc::default_hash_types)] +#![cfg_attr(bootstrap, allow(rustc::default_hash_types))] use std::borrow::Cow; use std::collections::BTreeMap;