1 #![deny(clippy::implicit_hasher)]
3 use std::collections::HashSet;
7 pub fn ice_3717<S: ::std::hash::BuildHasher + Default>(_: &HashSet<usize, S>) {
8 //~^ ERROR: parameter of type `HashSet` should be generalized over different hashers
10 let _: HashSet<usize> = HashSet::default();