rust/tests/ui/regions/issue-102392.rs
2023-01-11 09:32:08 +00:00

7 lines
103 B
Rust

fn g(f: for<'a> fn(fn(&str, &'a str))) -> bool {
f
//~^ ERROR mismatched types
}
fn main() {}