rust-clippy/tests/ui/crashes/ice-3151.rs
2022-04-22 20:05:18 -04:00

15 lines
246 B
Rust

/// Test for https://github.com/rust-lang/rust-clippy/issues/3151
#[derive(Clone)]
pub struct HashMap<V, S> {
hash_builder: S,
table: RawTable<V>,
}
#[derive(Clone)]
pub struct RawTable<V> {
size: usize,
val: V,
}
fn main() {}