mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
tidy
This commit is contained in:
@@ -3,7 +3,7 @@ fn main() {
|
||||
match op {
|
||||
Some(ref v) => { let a = &mut v; },
|
||||
//~^ ERROR cannot borrow `v` as mutable, as it is not declared as mutable
|
||||
//~^ HELP try removing `&mut` here
|
||||
//~^ HELP try removing `&mut` here
|
||||
None => {},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user