Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
parser
/
pat-ref-enum.rs
blob: 412dd141de0eea542e204b2b6c74fb57e24530ab [
file
] [
log
] [
blame
]
fn
matcher
(
x
:
Option
<
isize
>)
{
match
x
{
ref
Some
(
i
)
=>
{}
//~ ERROR expected identifier, found enum pattern
None
=>
{}
}
}
fn
main
()
{}