about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-3717.rs
blob: c612270865c572ea306933179e1f16ea3e3b307a (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(_: &HashSet<usize>) {
    //~^ implicit_hasher

    let _ = [0u8; 0];
    let _: HashSet<usize> = HashSet::new();
}