Skip to content

Commit 9792002

Browse files
committed
Cheat and temporarily work around a pretty-printer bug
that will go away with the new region syntax.
1 parent 7e4ed28 commit 9792002

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/run-pass/issue-5243.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// Check that merely have lifetime parameters is not
11+
// Check that merely having lifetime parameters is not
1212
// enough for trans to consider this as non-monomorphic,
1313
// which led to various assertions and failures in turn.
1414

1515
struct S<'self> {
1616
v: &'self int
1717
}
1818

19-
fn f<'lt>(_s: &S<'lt>) {}
19+
fn f<'lt>(_s: &'lt S<'lt>) {}
2020

2121
fn main() {
2222
f(& S { v: &42 });

0 commit comments

Comments
 (0)