use present tense consistently and update references

This commit is contained in:
Niko Matsakis 2017-09-12 10:53:00 -04:00
parent bbf82be076
commit d7bb575b06
5 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ error[E0623]: lifetime mismatch
with different lifetimes...
20 |
21 | if x > y { x } else { y }
| ^ ...but data flows `x` is returned here
| ^ ...but data from `x` is returned here
error: aborting due to previous error

View file

@ -8,7 +8,7 @@ error[E0623]: lifetime mismatch
with different lifetimes...
17 |
18 | x
| ^ ...but data flows from `x` is returned here
| ^ ...but data from `x` is returned here
error: aborting due to previous error

View file

@ -8,7 +8,7 @@ error[E0623]: lifetime mismatch
with different lifetimes...
17 |
18 | if true { x } else { self }
| ^^^^ ...but data flows from `self` is returned here
| ^^^^ ...but data from `self` is returned here
error: aborting due to previous error

View file

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