Skip to content

Commit

Permalink
Rollup merge of rust-lang#33675 - apasel422:issue-33662, r=pnkfelix
Browse files Browse the repository at this point in the history
Add missing code fence to `diagnostics.rs`

Closes rust-lang#33662
  • Loading branch information
Manishearth committed May 18, 2016
2 parents f91360f + f3c63d2 commit 9246cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_borrowck/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9246cc4

Please sign in to comment.