Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
nested-closure.rs
blob: 7bd372c169521b396582bf48175f6a6164a3edfe [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
feature
(
const_trait_impl
)]
use
std
::
sync
::
LazyLock
;
static
EXTERN_FLAGS
:
LazyLock
<
String
>
=
LazyLock
::
new
(||
{
let
x
=
||
String
::
new
();
x
()
});
fn
main
()
{}