2018-12-13 16:43:13 +01:00
|
|
|
struct SizedStruct {
|
2018-12-27 16:17:45 +01:00
|
|
|
_a: i32,
|
2018-12-13 16:43:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
struct UnsizedStruct {
|
2018-12-27 16:17:45 +01:00
|
|
|
_a: [i32],
|
2018-12-13 16:43:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
struct StructWithVecBox {
|
2018-12-27 16:17:45 +01:00
|
|
|
sized_type: Vec<Box<SizedStruct>>,
|
2018-12-13 16:43:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
struct StructWithVecBoxButItsUnsized {
|
2018-12-27 16:17:45 +01:00
|
|
|
unsized_type: Vec<Box<UnsizedStruct>>,
|
2018-12-13 16:43:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|