about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRemy Rakic <remy.rakic@gmail.com>2020-03-30 01:24:52 +0200
committerRemy Rakic <remy.rakic@gmail.com>2020-03-30 01:24:52 +0200
commitfcd12bd2f42202bf75f89c3712d25295af47e1ab (patch)
treee4b774481ab56d380915629d49dd100a74017102
parentc73d5db21fa89c33064724219e1dd5f168449d55 (diff)
downloadrust-fcd12bd2f42202bf75f89c3712d25295af47e1ab.tar.gz
rust-fcd12bd2f42202bf75f89c3712d25295af47e1ab.zip
bless output of ui test closures/closure-expected-type/expect-region-supply-region.rs
trivial diagnostics grammar change
-rw-r--r--src/test/ui/closures/closure-expected-type/expect-region-supply-region.polonius.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/closures/closure-expected-type/expect-region-supply-region.polonius.stderr b/src/test/ui/closures/closure-expected-type/expect-region-supply-region.polonius.stderr
index 2a7461fb469..df60416709f 100644
--- a/src/test/ui/closures/closure-expected-type/expect-region-supply-region.polonius.stderr
+++ b/src/test/ui/closures/closure-expected-type/expect-region-supply-region.polonius.stderr
@@ -2,7 +2,7 @@ error[E0521]: borrowed data escapes outside of closure
   --> $DIR/expect-region-supply-region.rs:18:9
    |
 LL |     let mut f: Option<&u32> = None;
-   |         ----- `f` is declared here, outside of the closure body
+   |         ----- `f` declared here, outside of the closure body
 LL |     closure_expecting_bound(|x| {
    |                              - `x` is a reference that is only valid in the closure body
 LL |         f = Some(x);
@@ -12,7 +12,7 @@ error[E0521]: borrowed data escapes outside of closure
   --> $DIR/expect-region-supply-region.rs:28:9
    |
 LL |     let mut f: Option<&u32> = None;
-   |         ----- `f` is declared here, outside of the closure body
+   |         ----- `f` declared here, outside of the closure body
 LL |     closure_expecting_bound(|x: &u32| {
    |                              - `x` is a reference that is only valid in the closure body
 LL |         f = Some(x);
@@ -33,7 +33,7 @@ error[E0521]: borrowed data escapes outside of closure
   --> $DIR/expect-region-supply-region.rs:42:9
    |
 LL |     let mut f: Option<&u32> = None;
-   |         ----- `f` is declared here, outside of the closure body
+   |         ----- `f` declared here, outside of the closure body
 ...
 LL |     closure_expecting_bound(|x: &'x u32| {
    |                              - `x` is a reference that is only valid in the closure body