Sign in
rust
/
rust
/
2ecaa1df2dd65610537d7a685ceebcbaf8d2d129
/
.
/
tests
/
ui
/
pattern
/
pat-tuple-bad-type.rs
blob: 98481167a59d1c87ba7a21d706fdcb43608e946d [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
;
//~ ERROR type annotations needed
match
x
{
(..)
=>
{}
_
=>
{}
}
match
0u8
{
(..)
=>
{}
//~ ERROR mismatched types
_
=>
{}
}
x
=
10
;
}