Skip to content

Commit e71eef1

Browse files
committed
fix ui tests
1 parent 6e3cdce commit e71eef1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0623]: lifetime mismatch
44
15 | fn foo(mut x: Ref) {
55
| ---
66
| |
7-
| these two types are declared with different lifetimes...
7+
| this type was declared with multiple lifetimes...
88
16 | x.a = x.b;
99
| ^^^ ...but data with one lifetime flows into the other here
1010

src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0623]: lifetime mismatch
2-
--> src/test/ui/lifetime-errors/ex3-both-anon-regions-using-fn-items.rs:11:10
2+
--> $DIR/ex3-both-anon-regions-using-fn-items.rs:11:10
33
|
44
10 | fn foo(x:fn(&u8, &u8), y: Vec<&u8>, z: &u8) {
55
| --- --- these two types are declared with different lifetimes...

0 commit comments

Comments
 (0)