bless output of ui test nll/user-annotations/closure-substs.rs
Trivial diagnostics grammar change
This commit is contained in:
parent
82424634a3
commit
5af11d261d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user