blob: 96aeec77c13007a22a52ddbbe5d81f7db7063f82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
fn foo() -> [(); {
let a: &'a ();
//~^ ERROR: use of undeclared lifetime name `'a`
10_usize
}] {
loop {}
}
fn main() {}
|