about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs b/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs
index 2e05dda7190..aef3f7a40b5 100644
--- a/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs
+++ b/src/test/compile-fail/lifetime-elision-return-type-requires-explicit-lifetime.rs
@@ -22,7 +22,7 @@ struct Foo<'a> {
     x: &'a int,
 }
 
-// Lifetime annotation needed because we have two lifetime: one as a parameter
+// Lifetime annotation needed because we have two lifetimes: one as a parameter
 // and one on the reference.
 fn h(_: &Foo) -> &int { //~ ERROR missing lifetime specifier
     fail!()