about summary refs log tree commit diff
path: root/src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs')
-rw-r--r--src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs b/src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs
index a85776a938b..e32ed1c42a0 100644
--- a/src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs
+++ b/src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs
@@ -49,6 +49,7 @@ struct Baz<'x> {
 
 impl<'a> Baz<'a> {
     fn baz2<'b>(&self, x: &isize) -> (&'b isize, &'b isize) {
+         //~^ HELP: parameter as shown: fn baz2<'b>(&self, x: &'b isize) -> (&'a isize, &'a isize)
         // The lifetime that gets assigned to `x` seems somewhat random.
         // I have disabled this test for the time being. --pcwalton
         (self.bar, x) //~ ERROR: cannot infer