Skip to content

Commit

Permalink
Add missing code fence to diagnostics.rs
Browse files Browse the repository at this point in the history
Closes #33662
  • Loading branch information
apasel422 committed May 16, 2016
1 parent 8310de8 commit f3c63d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_borrowck/diagnostics.rs
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 f3c63d2

Please sign in to comment.