Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
ui
/
issues
/
issue-7092.rs
blob: c3c96c7d3f61d89311e64f719f3d21f72a3166c0 [
file
] [
log
] [
blame
]
enum
Whatever
{
}
fn
foo
(
x
:
Whatever
)
{
match
x
{
Some
(
field
)
=>
//~^ ERROR mismatched types
//~| expected `Whatever`, found `Option<_>`
//~| expected enum `Whatever`
//~| found enum `Option<_>`
field
.
access
(),
}
}
fn
main
(){}