This commit is contained in:
ibraheemdev 2021-07-25 10:38:12 -04:00
parent e8238a78df
commit 30df151be7

View file

@ -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 => {},
}
}