Sign in
android
/
toolchain
/
rustc
/
977026a81a6cc1c304420586c1bb6527b72b4303
/
.
/
src
/
test
/
ui
/
structs
/
unresolved-struct-with-fru.rs
blob: c9fdca4577279d244effc4bff1dad0b11a90f36a [
file
] [
log
] [
blame
]
struct
S
{
a
:
u32
,
}
fn
main
()
{
let
s1
=
S
{
a
:
1
};
let
_
=
||
{
let
s2
=
Oops
{
a
:
2
,
..
s1
};
//~^ ERROR cannot find struct, variant or union type `Oops` in this scope
};
}