]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-3151.rs
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
[rust.git] / src / tools / clippy / 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() {}