summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-3717.rs
blob: f50714643fd2524905a7166c96d71e0c25687c34 (plain)
1
2
3
4
5
6
7
8
9
10
#![deny(clippy::implicit_hasher)]

use std::collections::HashSet;

fn main() {}

pub fn ice_3717(_: &HashSet<usize>) {
    let _ = [0u8; 0];
    let _: HashSet<usize> = HashSet::new();
}