]> git.lizzy.rs Git - rust.git/blob - tests/ui/vec_box_sized.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / vec_box_sized.rs
1 struct SizedStruct {
2     _a: i32,
3 }
4
5 struct UnsizedStruct {
6     _a: [i32],
7 }
8
9 struct StructWithVecBox {
10     sized_type: Vec<Box<SizedStruct>>,
11 }
12
13 struct StructWithVecBoxButItsUnsized {
14     unsized_type: Vec<Box<UnsizedStruct>>,
15 }
16
17 fn main() {}