// Test for https://github.com/rust-lang/rust-clippy/issues/3151 #[derive(Clone)] pub struct HashMap { hash_builder: S, table: RawTable, } #[derive(Clone)] pub struct RawTable { size: usize, val: V, } fn main() {}