Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
issues
/
issue-33819.rs
blob: b73e85974a8e1b70495cada40bebd081e2d9c52e [
file
] [
log
] [
blame
]
fn
main
()
{
let
mut
op
=
Some
(
2
);
match
op
{
Some
(
ref
v
)
=>
{
let
a
=
&
mut
v
;
},
//~^ ERROR cannot borrow `v` as mutable, as it is not declared as mutable
None
=>
{},
}
}