2019-04-05 00:22:36 -05:00
|
|
|
// run-pass
|
|
|
|
|
2019-02-06 00:45:57 -06:00
|
|
|
/// Test for https://github.com/rust-lang/rust-clippy/issues/2865
|
|
|
|
|
2018-09-08 08:30:50 -05:00
|
|
|
#[derive(Clone)]
|
|
|
|
pub struct HashMap<V, S> {
|
|
|
|
hash_builder: S,
|
|
|
|
table: RawTable<V>,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
pub struct RawTable<V> {
|
|
|
|
size: usize,
|
2018-12-09 16:26:16 -06:00
|
|
|
val: V,
|
2018-09-08 08:30:50 -05:00
|
|
|
}
|
|
|
|
|
2018-12-09 16:26:16 -06:00
|
|
|
fn main() {}
|