Skip to content

Commit 2fd8dbc

Browse files
committed
Auto merge of #86827 - camsteffen:hash-lint-resolved, r=oli-obk
Fix internal `default_hash_types` lint to use resolved path I run into false positives now and then (mostly in Clippy) when I want to name some util after HashMap.
2 parents 075a289 + dce2740 commit 2fd8dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/implicit_hasher.rs

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

33
use std::borrow::Cow;
44
use std::collections::BTreeMap;

0 commit comments

Comments
 (0)