Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
static-cycle-error.rs
blob: b23872ed509f555ac15d040ce1fd7cd589d5f1c6 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
struct
Foo
{
foo
:
Option
<&
'
static
Foo
>
}
static
FOO
:
Foo
=
Foo
{
foo
:
Some
(&
FOO
),
};
fn
main
()
{}