]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-3151.rs
Rollup merge of #5410 - dtolnay:trivially, r=flip1995
[rust.git] / tests / ui / crashes / ice-3151.rs
1 // run-pass
2
3 /// Test for https://github.com/rust-lang/rust-clippy/issues/2865
4
5 #[derive(Clone)]
6 pub struct HashMap<V, S> {
7     hash_builder: S,
8     table: RawTable<V>,
9 }
10
11 #[derive(Clone)]
12 pub struct RawTable<V> {
13     size: usize,
14     val: V,
15 }
16
17 fn main() {}