We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e99d309 commit 09c712dCopy full SHA for 09c712d
src/test/ui/did_you_mean/issue-31424.stderr
@@ -11,7 +11,7 @@ error[E0596]: cannot borrow immutable argument `self` as mutable
11
--> $DIR/issue-31424.rs:23:15
12
|
13
22 | fn bar(self: &mut Self) {
14
- | ---- consider changing this to `mut self`
+ | --------------- consider changing this to `mut self: &mut Self`
15
23 | (&mut self).bar();
16
| ^^^^ cannot borrow mutably
17
0 commit comments