Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
resolve
/
tuple-struct-alias.rs
blob: 298e7e479983d4b95a82d0a2e8d01ed43cf82e6f [
file
] [
log
] [
blame
]
struct
S
(
u8
,
u16
);
type
A
=
S
;
fn
main
()
{
let
s
=
A
(
0
,
1
);
//~ ERROR expected function
match
s
{
A
(..)
=>
{}
//~ ERROR expected tuple struct or tuple variant
}
}