Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bless output of ui test nll/user-annotations/closure-substs.rs
Trivial diagnostics grammar change
  • Loading branch information
lqd committed Mar 29, 2020
commit 5af11d261d38c6dad4475c933ffa59a388979cfb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ error[E0521]: borrowed data escapes outside of closure
--> $DIR/closure-substs.rs:29:9
|
LL | |x: &i32, b: fn(&'static i32)| {
| - - `b` is declared here, outside of the closure body
| - - `b` declared here, outside of the closure body
| |
| `x` is a reference that is only valid in the closure body
LL | b(x);
Expand Down