summary refs log tree commit diff
path: root/src/test/ui/issues/issue-18919.rs
blob: 91fbb13cd69885253925aa8a8c79d47efa9e1b5b (plain)
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() {}