1 2 3 4 5 6 7
type FuncType<'f> = dyn Fn(&isize) -> isize + 'f; fn ho_func(f: Option<FuncType>) { //~^ ERROR the size for values of type } fn main() {}