about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-03-06 16:18:46 -0500
committerNiko Matsakis <niko@alum.mit.edu>2013-03-06 16:18:46 -0500
commit9792002c6acce3484bc4fe1fcd87c1b6e62226e3 (patch)
tree9070c78b5c9ee2c83b40c363a99a688640f19e0f
parent7e4ed28fa5c89623d1e4c088e9db34e85e4a0fae (diff)
downloadrust-9792002c6acce3484bc4fe1fcd87c1b6e62226e3.tar.gz
rust-9792002c6acce3484bc4fe1fcd87c1b6e62226e3.zip
Cheat and temporarily work around a pretty-printer bug
that will go away with the new region syntax.
-rw-r--r--src/test/run-pass/issue-5243.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/issue-5243.rs b/src/test/run-pass/issue-5243.rs
index 9af2027ee7e..4d286214655 100644
--- a/src/test/run-pass/issue-5243.rs
+++ b/src/test/run-pass/issue-5243.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// Check that merely have lifetime parameters is not
+// Check that merely having lifetime parameters is not
 // enough for trans to consider this as non-monomorphic,
 // which led to various assertions and failures in turn.
 
@@ -16,7 +16,7 @@ struct S<'self> {
     v: &'self int
 }
 
-fn f<'lt>(_s: &S<'lt>) {}
+fn f<'lt>(_s: &'lt S<'lt>) {}
 
 fn main() {
     f(& S { v: &42 });