rust/tests/ui/crashes/ice-3151.rs

16 lines
245 B
Rust
Raw Normal View History

// Test for https://github.com/rust-lang/rust-clippy/issues/3151
#[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-12-09 16:26:16 -06:00
fn main() {}