From 9792002c6acce3484bc4fe1fcd87c1b6e62226e3 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 6 Mar 2013 16:18:46 -0500 Subject: [PATCH] Cheat and temporarily work around a pretty-printer bug that will go away with the new region syntax. --- src/test/run-pass/issue-5243.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/run-pass/issue-5243.rs b/src/test/run-pass/issue-5243.rs index 9af2027ee7ed..4d2862146555 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 });