]> git.lizzy.rs Git - rust.git/commitdiff
bless output of ui test nll/user-annotations/closure-substs.rs
authorRemy Rakic <remy.rakic@gmail.com>
Sun, 29 Mar 2020 23:30:26 +0000 (01:30 +0200)
committerRemy Rakic <remy.rakic@gmail.com>
Sun, 29 Mar 2020 23:30:26 +0000 (01:30 +0200)
Trivial diagnostics grammar change

src/test/ui/nll/user-annotations/closure-substs.polonius.stderr

index d5bcdf64441712fd341f95ac6300f0d47172ecdf..46b6c04dcbc341e502a0c51bda030107e85b55da 100644 (file)
@@ -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);