1 error: invalid label name `'static`
2 --> $DIR/issue-52437.rs:2:13
4 LL | [(); &(&'static: loop { |x| {}; }) as *const _ as usize]
7 error[E0282]: type annotations needed
8 --> $DIR/issue-52437.rs:2:30
10 LL | [(); &(&'static: loop { |x| {}; }) as *const _ as usize]
13 help: consider giving this closure parameter an explicit type
15 LL | [(); &(&'static: loop { |x: _| {}; }) as *const _ as usize]
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0282`.