Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
consts
/
static-cycle-error.rs
blob: b23872ed509f555ac15d040ce1fd7cd589d5f1c6 [
file
]
//@ check-pass
struct
Foo
{
foo
:
Option
<&
'
static
Foo
>
}
static
FOO
:
Foo
=
Foo
{
foo
:
Some
(&
FOO
),
};
fn
main
()
{}