diff options
Diffstat (limited to 'src/tools/clippy/tests/ui-toml/vec_box_sized/test.fixed')
-rw-r--r-- | src/tools/clippy/tests/ui-toml/vec_box_sized/test.fixed | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui-toml/vec_box_sized/test.fixed b/src/tools/clippy/tests/ui-toml/vec_box_sized/test.fixed new file mode 100644 index 000000000..bb4936401 --- /dev/null +++ b/src/tools/clippy/tests/ui-toml/vec_box_sized/test.fixed @@ -0,0 +1,16 @@ +struct S { + x: u64, +} + +struct C { + y: u16, +} + +struct Foo(Vec<u8>); +struct Bar(Vec<u16>); +struct Quux(Vec<Box<u32>>); +struct Baz(Vec<Box<(u16, u16)>>); +struct BarBaz(Vec<Box<S>>); +struct FooBarBaz(Vec<C>); + +fn main() {} |