4 fn new(slice: &[u8; Foo::SIZE]) -> Self;
5 //~^ ERROR: type annotations needed
8 pub struct Bar<T: ?Sized>(T);
11 const SIZE: usize = 32;
13 fn new(slice: &[u8; Self::SIZE]) -> Self {
15 //~^ ERROR: expected function, tuple struct or tuple variant, found trait `Foo`