rust-clippy/tests/ui/crashes/ice-3717.rs
2020-04-08 08:43:20 -07:00

10 lines
187 B
Rust

#![deny(clippy::implicit_hasher)]
use std::collections::HashSet;
fn main() {}
pub fn ice_3717(_: &HashSet<usize>) {
let _ = [0u8; 0];
let _: HashSet<usize> = HashSet::new();
}