diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2019-09-12 18:56:09 -0500 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2019-09-12 18:56:09 -0500 |
| commit | 5b093585922f670ccd0f010c234a325b814d48a9 (patch) | |
| tree | 1934a2b2004fa04d7f0396ebe32a9905ec8f48fa /src/test/ui/lifetimes/lifetime-errors | |
| parent | 23db4504aa493a5b2670fba1475ac28de6670e59 (diff) | |
| download | rust-5b093585922f670ccd0f010c234a325b814d48a9.tar.gz rust-5b093585922f670ccd0f010c234a325b814d48a9.zip | |
update tests
Diffstat (limited to 'src/test/ui/lifetimes/lifetime-errors')
| -rw-r--r-- | src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions-3.nll.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions-3.nll.stderr b/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions-3.nll.stderr index 779e2eb8b92..2ed4d6d4401 100644 --- a/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions-3.nll.stderr +++ b/src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions-3.nll.stderr @@ -12,11 +12,11 @@ error: lifetime may not live long enough --> $DIR/ex3-both-anon-regions-3.rs:2:5 | LL | fn foo(z: &mut Vec<(&u8,&u8)>, (x, y): (&u8, &u8)) { - | - - let's call the lifetime of this reference `'1` + | - - let's call the lifetime of this reference `'3` | | - | let's call the lifetime of this reference `'2` + | let's call the lifetime of this reference `'4` LL | z.push((x,y)); - | ^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` + | ^^^^^^^^^^^^^ argument requires that `'3` must outlive `'4` error: aborting due to 2 previous errors |
