blob: abd1d32abe28904fa78350c91b133d828e9828c5 (
plain)
1
2
3
4
5
6
7
8
9
|
// check-pass
const fn nested(x: (for<'a> fn(&'a ()), String)) -> (fn(&'static ()), String) {
x
}
pub const TEST: (fn(&'static ()), String) = nested((|_x| (), String::new()));
fn main() {}
|