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:
authorFlorian Hahn <flo@fhahn.com>2016-01-15 11:57:57 +0100
committerFlorian Hahn <flo@fhahn.com>2016-01-30 00:27:58 +0100
commitefe56c883354fe476fe4c989bb34e68f825ecfdc (patch)
tree7d21df5700942a2e48753f0ccb8dd76c20ece95f /src/test/compile-fail/lifetime-inference-give-expl-lifetime-param.rs
parent36656f812d123644fb24c16a721803fa92656af0 (diff)
downloadrust-efe56c883354fe476fe4c989bb34e68f825ecfdc.tar.gz
rust-efe56c883354fe476fe4c989bb34e68f825ecfdc.zip
Add missings NOTE and HELP annotations to tests
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