summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-3151.rs
blob: 268ba86fc7aa80756b1aa151b1aff72949a4d75c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// 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() {}