Sign in
rust
/
rust
/
7253b2ba610be3cfdfd391de9af8ec461a2dee27
/
.
/
tests
/
ui
/
parallel-rustc
/
recursive-struct-oncelock-issue-151226.rs
blob: 32b570af445e4abda3820b3256689fcced82549b [
file
]
// Test for #151226, Unable to verify registry association
struct
A
<
T
>(
std
::
sync
::
OnceLock
<
Self
>);
//~^ ERROR recursive type `A` has infinite size
static
B
:
A
<()>
=
todo
!();
fn
main
()
{}