blob: 0b423b340226d8258819b2ea82233254c554aebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// check-pass
#![feature(const_trait_impl, lazy_cell)]
use std::sync::LazyLock;
static EXTERN_FLAGS: LazyLock<String> = LazyLock::new(|| {
let x = || String::new();
x()
});
fn main() {}
|