]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-3151.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / src / tools / clippy / tests / ui / crashes / ice-3151.rs
1 /// Test for https://github.com/rust-lang/rust-clippy/issues/3151
2
3 #[derive(Clone)]
4 pub struct HashMap<V, S> {
5     hash_builder: S,
6     table: RawTable<V>,
7 }
8
9 #[derive(Clone)]
10 pub struct RawTable<V> {
11     size: usize,
12     val: V,
13 }
14
15 fn main() {}