Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
recursion
/
recursive-static-definition.rs
blob: 5317c47076e505b0a1194ead7104303711cf1fad [
file
] [
log
] [
blame
] [
edit
]
pub
static
FOO
:
u32
=
FOO
;
//~^ ERROR could not evaluate static initializer
#[
derive
(
Copy
,
Clone
)]
pub
union
Foo
{
x
:
u32
,
}
pub
static
BAR
:
Foo
=
BAR
;
//~^ ERROR could not evaluate static initializer
fn
main
()
{}