Rollup merge of #33675 - apasel422:issue-33662, r=pnkfelix
Add missing code fence to `diagnostics.rs` Closes #33662
This commit is contained in:
commit
9246cc41a6
1 changed files with 1 additions and 0 deletions
|
|
@ -391,6 +391,7 @@ fn you_know_nothing(jon_snow: &mut i32) {
|
|||
// but it is already borrowed
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
In here, `jon_snow` is already borrowed by the `nights_watch` closure, so it
|
||||
cannot be borrowed by the `starks` closure at the same time. To fix this issue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue