Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit fcd12bd

Browse files
committed
bless output of ui test closures/closure-expected-type/expect-region-supply-region.rs
trivial diagnostics grammar change
1 parent c73d5db commit fcd12bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/ui/closures/closure-expected-type/expect-region-supply-region.polonius.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0521]: borrowed data escapes outside of closure
22
--> $DIR/expect-region-supply-region.rs:18:9
33
|
44
LL | let mut f: Option<&u32> = None;
5-
| ----- `f` is declared here, outside of the closure body
5+
| ----- `f` declared here, outside of the closure body
66
LL | closure_expecting_bound(|x| {
77
| - `x` is a reference that is only valid in the closure body
88
LL | f = Some(x);
@@ -12,7 +12,7 @@ error[E0521]: borrowed data escapes outside of closure
1212
--> $DIR/expect-region-supply-region.rs:28:9
1313
|
1414
LL | let mut f: Option<&u32> = None;
15-
| ----- `f` is declared here, outside of the closure body
15+
| ----- `f` declared here, outside of the closure body
1616
LL | closure_expecting_bound(|x: &u32| {
1717
| - `x` is a reference that is only valid in the closure body
1818
LL | f = Some(x);
@@ -33,7 +33,7 @@ error[E0521]: borrowed data escapes outside of closure
3333
--> $DIR/expect-region-supply-region.rs:42:9
3434
|
3535
LL | let mut f: Option<&u32> = None;
36-
| ----- `f` is declared here, outside of the closure body
36+
| ----- `f` declared here, outside of the closure body
3737
...
3838
LL | closure_expecting_bound(|x: &'x u32| {
3939
| - `x` is a reference that is only valid in the closure body

0 commit comments

Comments
 (0)