rust/tests/ui/issues/issue-18919.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
187 B
Rust
Raw Normal View History

2019-05-28 13:46:13 -05:00
type FuncType<'f> = dyn Fn(&isize) -> isize + 'f;
fn ho_func(f: Option<FuncType>) {
2018-07-10 16:10:13 -05:00
//~^ ERROR the size for values of type
}
enum Option<T> {
Some(T),
None,
}
fn main() {}