Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-7867.rs
blob: 3074052f14f2047caac4dbffb10bd4c34468d4ff [
file
] [
log
] [
blame
]
enum
A
{
B
,
C
}
mod
foo
{
pub
fn
bar
()
{}
}
fn
main
()
{
match
(
true
,
false
)
{
A
::
B
=>
(),
//~^ ERROR mismatched types
//~| expected tuple, found enum `A`
//~| expected tuple `(bool, bool)`
//~| found enum `A`
_
=>
()
}
}