about summary refs log tree commit diff
path: root/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr')
-rw-r--r--src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr b/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
index 1ee00997997..69ff29db357 100644
--- a/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
+++ b/src/test/ui/lifetime-errors/ex2b-push-no-existing-names.stderr
@@ -3,7 +3,7 @@ error[E0623]: lifetime mismatch
    |
 15 | fn foo(x: &mut Vec<Ref<i32>>, y: Ref<i32>) {
    |                    --------      -------- these two types are declared with different lifetimes...
-16 |     x.push(y);
+16 |     x.push(y); //~ ERROR lifetime mismatch
    |            ^ ...but data from `y` flows into `x` here
 
 error: aborting due to previous error