blob: 2890a9277c719ba9ff7b7bb47a1999a6cff9cd85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![deny(clippy::implicit_hasher)]
use std::collections::HashSet;
fn main() {}
pub fn ice_3717(_: &HashSet<usize>) {
//~^ ERROR: parameter of type `HashSet` should be generalized over different hashers
let _ = [0u8; 0];
let _: HashSet<usize> = HashSet::new();
}
|