rust-clippy/tests/ui/crashes/ice-3717.rs

11 lines
187 B
Rust
Raw Normal View History

2020-04-03 02:09:30 +00:00
#![deny(clippy::implicit_hasher)]
2019-02-16 21:41:06 +00:00
use std::collections::HashSet;
fn main() {}
pub fn ice_3717(_: &HashSet<usize>) {
let _ = [0u8; 0];
let _: HashSet<usize> = HashSet::new();
}