In rust-lang/rust#59316 internal lints were implemented. Let's also activate those in Clippy.
This includes removing the internal lint
|
declare_clippy_lint! { |
|
/// **What it does:** Checks for the presence of the default hash types "HashMap" or "HashSet" |
|
/// and recommends the FxHash* variants. |
|
/// |
|
/// **Why is this bad?** The FxHash variants have better performance |
|
/// and we don't need any collision prevention in clippy. |
|
pub DEFAULT_HASH_TYPES, |
|
internal, |
|
"forbid HashMap and HashSet and suggest the FxHash* variants" |
|
} |
from Clippy, since it got uplifted.
In rust-lang/rust#59316 internal lints were implemented. Let's also activate those in Clippy.
This includes removing the internal lint
rust-clippy/clippy_lints/src/utils/internal_lints.rs
Lines 59 to 68 in fbb3a47
from Clippy, since it got uplifted.