Skip to content

Commit

Permalink
fix test/ui/borrowck/issue-33819
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Jul 25, 2021
1 parent 30df151 commit 880e691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/borrowck/issue-33819.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {},
}
}

0 comments on commit 880e691

Please sign in to comment.