mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 22:22:44 +00:00
fix ui tests
This commit is contained in:
parent
6e3cdcea4c
commit
e71eef1775
@ -4,7 +4,7 @@ error[E0623]: lifetime mismatch
|
|||||||
15 | fn foo(mut x: Ref) {
|
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;
|
16 | x.a = x.b;
|
||||||
| ^^^ ...but data with one lifetime flows into the other here
|
| ^^^ ...but data with one lifetime flows into the other here
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
error[E0623]: lifetime mismatch
|
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) {
|
10 | fn foo(x:fn(&u8, &u8), y: Vec<&u8>, z: &u8) {
|
||||||
| --- --- these two types are declared with different lifetimes...
|
| --- --- these two types are declared with different lifetimes...
|
||||||
|
Loading…
Reference in New Issue
Block a user