summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/vec_box_sized/test.rs
blob: 4c46deb585b6c26297d3f931b6ce21f90d3f4ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)>>);
struct BarBaz(Vec<Box<S>>);
struct FooBarBaz(Vec<Box<C>>);

fn main() {}