@@ -8,8 +8,8 @@ LL | pub unsafe extern "C" fn no_escape0<'f>(_: usize, ap: ...) -> VaListImpl<'f
8
8
LL | ap
9
9
| ^^ function was supposed to return data with lifetime `'1` but it is returning data with lifetime `'f`
10
10
|
11
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
12
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
11
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
12
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
13
13
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
14
14
15
15
error: lifetime may not live long enough
@@ -22,8 +22,8 @@ LL | pub unsafe extern "C" fn no_escape0<'f>(_: usize, ap: ...) -> VaListImpl<'f
22
22
LL | ap
23
23
| ^^ function was supposed to return data with lifetime `'f` but it is returning data with lifetime `'1`
24
24
|
25
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
26
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
25
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
26
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
27
27
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
28
28
29
29
error: lifetime may not live long enough
@@ -34,8 +34,8 @@ LL | pub unsafe extern "C" fn no_escape1(_: usize, ap: ...) -> VaListImpl<'stati
34
34
LL | ap
35
35
| ^^ returning this value requires that `'1` must outlive `'static`
36
36
|
37
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
38
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
37
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
38
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
39
39
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
40
40
41
41
error: lifetime may not live long enough
@@ -57,8 +57,8 @@ LL | pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut
57
57
LL | *ap0 = ap1;
58
58
| ^^^^ assignment requires that `'1` must outlive `'2`
59
59
|
60
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
61
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
60
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
61
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
62
62
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
63
63
64
64
error: lifetime may not live long enough
@@ -71,8 +71,8 @@ LL | pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut
71
71
LL | *ap0 = ap1;
72
72
| ^^^^ assignment requires that `'2` must outlive `'1`
73
73
|
74
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
75
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
74
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
75
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
76
76
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
77
77
78
78
error: lifetime may not live long enough
@@ -85,7 +85,7 @@ LL | pub unsafe extern "C" fn no_escape4(_: usize, mut ap0: &mut VaListImpl, mut
85
85
LL | ap0 = &mut ap1;
86
86
| ^^^^^^^^^^^^^^ assignment requires that `'1` must outlive `'2`
87
87
|
88
- = note: requirement occurs because of a mutable reference to VaListImpl<'_>
88
+ = note: requirement occurs because of a mutable reference to ` VaListImpl<'_>`
89
89
= note: mutable references are invariant over their type parameter
90
90
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
91
91
@@ -99,7 +99,7 @@ LL | pub unsafe extern "C" fn no_escape4(_: usize, mut ap0: &mut VaListImpl, mut
99
99
LL | ap0 = &mut ap1;
100
100
| ^^^^^^^^^^^^^^ assignment requires that `'2` must outlive `'1`
101
101
|
102
- = note: requirement occurs because of a mutable reference to VaListImpl<'_>
102
+ = note: requirement occurs because of a mutable reference to ` VaListImpl<'_>`
103
103
= note: mutable references are invariant over their type parameter
104
104
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
105
105
@@ -127,8 +127,8 @@ LL | pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut
127
127
LL | *ap0 = ap1.clone();
128
128
| ^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
129
129
|
130
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
131
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
130
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
131
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
132
132
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
133
133
134
134
error: lifetime may not live long enough
@@ -141,8 +141,8 @@ LL | pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut
141
141
LL | *ap0 = ap1.clone();
142
142
| ^^^^^^^^^^^ argument requires that `'2` must outlive `'1`
143
143
|
144
- = note: requirement occurs because of the type VaListImpl<'_>, which makes the generic argument '_ invariant
145
- = note: the struct VaListImpl<'f> is invariant over the parameter 'f
144
+ = note: requirement occurs because of the type ` VaListImpl<'_>` , which makes the generic argument `'_` invariant
145
+ = note: the struct ` VaListImpl<'f>` is invariant over the parameter `'f`
146
146
= help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
147
147
148
148
error: aborting due to 11 previous errors
0 commit comments