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