]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-3717.rs
Auto merge of #6298 - JohnTitor:fix-example, r=llogiq
[rust.git] / tests / ui / crashes / ice-3717.rs
1 #![deny(clippy::implicit_hasher)]
2
3 use std::collections::HashSet;
4
5 fn main() {}
6
7 pub fn ice_3717(_: &HashSet<usize>) {
8     let _ = [0u8; 0];
9     let _: HashSet<usize> = HashSet::new();
10 }