blob: 03162c74882d4313b62430d150ef4377ab0bec71 [file]
#![feature(generic_const_exprs)]
fn test<'a>(
_: &'a (),
) -> [(); { //~ ERROR: mismatched types
let x: &'a ();
//~^ ERROR cannot capture late-bound lifetime in constant
1
}] {
}
fn main() {}