fix ui tests

This commit is contained in:
gaurikholkar 2017-09-13 20:56:27 +05:30
parent 6e3cdcea4c
commit e71eef1775
2 changed files with 2 additions and 2 deletions

View File

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

View File

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