Sign in
fuchsia
/
third_party
/
rust
/
0.4
/
.
/
src
/
test
/
compile-fail
/
pat-ref-enum.rs
blob: 398a95d194c295112f99b0c6dc37e2dce5b0ff5e [
file
] [
log
] [
blame
]
fn
matcher
(
x
:
option
<
int
>)
{
match
x
{
ref
some
(
i
)
=>
{}
//~ ERROR expected identifier, found enum pattern
none
=>
{}
}
}
fn
main
()
{}