about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-3151.rs
blob: f0c57d2f19f46e5bdc1449ed66dc83e84946a292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ check-pass
// 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() {}