blob: f06771e9ea59d543171758f64a28a54c6be1f059 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
 | type FuncType<'f> = dyn Fn(&isize) -> isize + 'f;
fn ho_func(f: Option<FuncType>) {
    //~^ ERROR the size for values of type
}
enum Option<T> {
    Some(T),
    None,
}
fn main() {}
 |