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.
diagnostics.rs
1 parent 8310de8 commit f3c63d2Copy full SHA for f3c63d2
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