Sign in
rust
/
rust
/
7253b2ba610be3cfdfd391de9af8ec461a2dee27
/
.
/
tests
/
ui
/
resolve
/
tuple-struct-alias.rs
blob: cfdd8db67466bc60032c7009346499878bad0f01 [
file
]
struct
S
(
u8
,
u16
);
type
A
=
S
;
fn
main
()
{
let
s
=
A
(
0
,
1
);
//~ ERROR cannot find function, tuple struct or tuple variant `A` in this scope
match
s
{
A
(..)
=>
{}
//~ ERROR cannot find tuple struct or tuple variant `A` in this scope
}
}