Skip to content

Commit

Permalink
bless output of ui test nll/user-annotations/closure-substs.rs
Browse files Browse the repository at this point in the history
Trivial diagnostics grammar change
  • Loading branch information
lqd committed Mar 29, 2020
1 parent 8242463 commit 5af11d2
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 5af11d2

Please sign in to comment.