about summary refs log tree commit diff
path: root/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr')
-rw-r--r--src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
index ce766b2e406..b8a4d9ed24e 100644
--- a/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
+++ b/src/test/ui/lifetime-errors/ex3-both-anon-regions-using-trait-objects.stderr
@@ -3,7 +3,7 @@ error[E0623]: lifetime mismatch
    |
 10 | fn foo(x:Box<Fn(&u8, &u8)> , y: Vec<&u8>, z: &u8) {
    |                 ---  --- these two types are declared with different lifetimes...
-11 |   y.push(z);
+11 |   y.push(z); //~ ERROR lifetime mismatch
    |          ^ ...but data from `z` flows into `y` here
 
 error: aborting due to previous error