Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
privacy
/
suggest-box-new.fixed
blob: f5ae5c2abfd99a3596338a45c34494b9224ddf05 [
file
] [
log
] [
blame
]
// run-rustfix
#![allow(dead_code)]
struct
U
<
T
>
{
wtf
:
Option
<
Box
<
U
<
T
>>>,
x
:
T
,
}
fn main
()
{
U
{
wtf
:
Some
(
Box
::
new
(
U
{
//~ ERROR cannot initialize a tuple struct which contains private fields
wtf
:
None
,
x
:
(),
})),
x
:
()
};
}