pub struct Struct; impl Struct { pub fn function(funs: Vec ()>) {} //~^ ERROR the size for values of type } struct Vec { t: T, } fn main() {}