rust/tests/ui/regions/issue-102392.rs

7 lines
103 B
Rust
Raw Normal View History

2022-09-30 07:21:17 -05:00
fn g(f: for<'a> fn(fn(&str, &'a str))) -> bool {
f
//~^ ERROR mismatched types
}
fn main() {}