]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/unsized/return-unsized-from-trait-method.rs
1 // ignore-tidy-linelength
3 // regression test for #26376
9 fn foo(f
: Option
<&dyn Foo
>) {
12 //~^ ERROR cannot move a value of type [u8]: the size of [u8] cannot be statically determined
16 fn main() { foo(None) }