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

16 lines
212 B
Rust
Raw Normal View History

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