We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bc1f65 + f3c63d2 commit a8c9eb6Copy full SHA for a8c9eb6
src/librustc_borrowck/diagnostics.rs
@@ -391,6 +391,7 @@ fn you_know_nothing(jon_snow: &mut i32) {
391
// but it is already borrowed
392
};
393
}
394
+```
395
396
In here, `jon_snow` is already borrowed by the `nights_watch` closure, so it
397
cannot be borrowed by the `starks` closure at the same time. To fix this issue,
0 commit comments