Skip to content

Commit 09c712d

Browse files
committed
Fix test
1 parent e99d309 commit 09c712d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/test/ui/did_you_mean/issue-31424.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ error[E0596]: cannot borrow immutable argument `self` as mutable
1111
--> $DIR/issue-31424.rs:23:15
1212
|
1313
22 | fn bar(self: &mut Self) {
14-
| ---- consider changing this to `mut self`
14+
| --------------- consider changing this to `mut self: &mut Self`
1515
23 | (&mut self).bar();
1616
| ^^^^ cannot borrow mutably
1717

0 commit comments

Comments
 (0)