rust/tests/ui-toml/vec_box_sized/test.rs

17 lines
240 B
Rust
Raw Normal View History

2020-01-23 08:52:41 -06:00
struct S {
x: u64,
}
struct C {
y: u16,
}
struct Foo(Vec<Box<u8>>);
struct Bar(Vec<Box<u16>>);
struct Quux(Vec<Box<u32>>);
struct Baz(Vec<Box<(u16, u16)>>);
2020-01-23 08:52:41 -06:00
struct BarBaz(Vec<Box<S>>);
struct FooBarBaz(Vec<Box<C>>);
fn main() {}