summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-19707.rs
blob: 6bc7132af3c4339aeedc63b5f1639dbaae442509 (plain)
1
2
3
4
5
6
7
#![allow(dead_code)]

type Foo = fn(&u8, &u8) -> &u8; //~ ERROR missing lifetime specifier

fn bar<F: Fn(&u8, &u8) -> &u8>(f: &F) {} //~ ERROR missing lifetime specifier

fn main() {}