Cheat and temporarily work around a pretty-printer bug

that will go away with the new region syntax.
This commit is contained in:
Niko Matsakis 2013-03-06 16:18:46 -05:00
parent 7e4ed28fa5
commit 9792002c6a
1 changed files with 2 additions and 2 deletions

View File

@ -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 });