We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4ed28 commit 9792002Copy full SHA for 9792002
src/test/run-pass/issue-5243.rs
@@ -8,15 +8,15 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-// Check that merely have lifetime parameters is not
+// Check that merely having lifetime parameters is not
12
// enough for trans to consider this as non-monomorphic,
13
// which led to various assertions and failures in turn.
14
15
struct S<'self> {
16
v: &'self int
17
}
18
19
-fn f<'lt>(_s: &S<'lt>) {}
+fn f<'lt>(_s: &'lt S<'lt>) {}
20
21
fn main() {
22
f(& S { v: &42 });
0 commit comments