blob: 5581b67fa5c44ba3046be2d224bb383b53d5e1ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![deny(clippy::implicit_hasher)]
use std::collections::HashSet;
fn main() {}
pub fn ice_3717<S: ::std::hash::BuildHasher + Default>(_: &HashSet<usize, S>) {
//~^ implicit_hasher
let _ = [0u8; 0];
let _: HashSet<usize> = HashSet::default();
}
|