rust-clippy/tests/ui/vec_box_sized.rs
Matthias Krüger 38fabcbdf2 tests: fix formatting and update test output
fix script one last time™
2018-12-27 17:03:53 +01:00

17 lines
244 B
Rust

struct SizedStruct {
_a: i32,
}
struct UnsizedStruct {
_a: [i32],
}
struct StructWithVecBox {
sized_type: Vec<Box<SizedStruct>>,
}
struct StructWithVecBoxButItsUnsized {
unsized_type: Vec<Box<UnsizedStruct>>,
}
fn main() {}