Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
issues
/
issue-7092.rs
blob: 85bfbf90d9a2f283241d8cc5e1fe0381876fe4fd [
file
] [
log
] [
blame
]
enum
Whatever
{
}
fn
foo
(
x
:
Whatever
)
{
match
x
{
Some
(
field
)
=>
//~^ ERROR mismatched types
//~| expected enum `Whatever`, found enum `Option`
//~| expected enum `Whatever`
//~| found enum `Option<_>`
field
.
access
(),
}
}
fn
main
(){}