Skip to content

Commit a8c9eb6

Browse files
committed
Rollup merge of #33675 - apasel422:issue-33662, r=pnkfelix
Add missing code fence to `diagnostics.rs` Closes #33662
2 parents 5bc1f65 + f3c63d2 commit a8c9eb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_borrowck/diagnostics.rs

+1
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ fn you_know_nothing(jon_snow: &mut i32) {
391391
// but it is already borrowed
392392
};
393393
}
394+
```
394395
395396
In here, `jon_snow` is already borrowed by the `nights_watch` closure, so it
396397
cannot be borrowed by the `starks` closure at the same time. To fix this issue,

0 commit comments

Comments
 (0)