Skip to content

Commit 880e691

Browse files
committed
fix test/ui/borrowck/issue-33819
1 parent 30df151 commit 880e691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/borrowck/issue-33819.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ fn main() {
33
match op {
44
Some(ref v) => { let a = &mut v; },
55
//~^ ERROR cannot borrow `v` as mutable, as it is not declared as mutable
6-
//~^ HELP try removing `&mut` here
6+
//~| HELP try removing `&mut` here
77
None => {},
88
}
99
}

0 commit comments

Comments
 (0)