Sign in
fuchsia
/
third_party
/
rust
/
3288be515feb4e2143c97ccf0e8455f572e3b360
/
.
/
src
/
test
/
ui
/
resolve
/
tuple-struct-alias.rs
blob: 65977e1110c5cc94e47bf17039cb4ae6b5c8f5ad [
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/variant
}
}