2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-08-08 11:01:04 -05:00
|
|
|
|
2018-07-07 09:39:21 -05:00
|
|
|
#![allow(const_err)]
|
|
|
|
|
|
|
|
fn main() {
|
2019-04-22 02:40:08 -05:00
|
|
|
let x: &'static _ = &|| { let z = 3; z };
|
2018-07-07 09:39:21 -05:00
|
|
|
}
|