@@ -8,8 +8,8 @@ LL | pub unsafe extern "C" fn no_escape0<'f>(_: usize, ap: ...) -> VaListImpl<'f
88LL | ap
99 | ^^ function was supposed to return data with lifetime `'1` but it is returning data with lifetime `'f`
1010 |
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`
1313 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
1414
1515error: lifetime may not live long enough
@@ -22,8 +22,8 @@ LL | pub unsafe extern "C" fn no_escape0<'f>(_: usize, ap: ...) -> VaListImpl<'f
2222LL | ap
2323 | ^^ function was supposed to return data with lifetime `'f` but it is returning data with lifetime `'1`
2424 |
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`
2727 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
2828
2929error: lifetime may not live long enough
@@ -34,8 +34,8 @@ LL | pub unsafe extern "C" fn no_escape1(_: usize, ap: ...) -> VaListImpl<'stati
3434LL | ap
3535 | ^^ returning this value requires that `'1` must outlive `'static`
3636 |
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`
3939 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
4040
4141error: lifetime may not live long enough
@@ -57,8 +57,8 @@ LL | pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut
5757LL | *ap0 = ap1;
5858 | ^^^^ assignment requires that `'1` must outlive `'2`
5959 |
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`
6262 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
6363
6464error: lifetime may not live long enough
@@ -71,8 +71,8 @@ LL | pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut
7171LL | *ap0 = ap1;
7272 | ^^^^ assignment requires that `'2` must outlive `'1`
7373 |
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`
7676 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
7777
7878error: lifetime may not live long enough
@@ -85,7 +85,7 @@ LL | pub unsafe extern "C" fn no_escape4(_: usize, mut ap0: &mut VaListImpl, mut
8585LL | ap0 = &mut ap1;
8686 | ^^^^^^^^^^^^^^ assignment requires that `'1` must outlive `'2`
8787 |
88- = note: requirement occurs because of a mutable reference to VaListImpl<'_>
88+ = note: requirement occurs because of a mutable reference to ` VaListImpl<'_>`
8989 = note: mutable references are invariant over their type parameter
9090 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
9191
@@ -99,7 +99,7 @@ LL | pub unsafe extern "C" fn no_escape4(_: usize, mut ap0: &mut VaListImpl, mut
9999LL | ap0 = &mut ap1;
100100 | ^^^^^^^^^^^^^^ assignment requires that `'2` must outlive `'1`
101101 |
102- = note: requirement occurs because of a mutable reference to VaListImpl<'_>
102+ = note: requirement occurs because of a mutable reference to ` VaListImpl<'_>`
103103 = note: mutable references are invariant over their type parameter
104104 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
105105
@@ -127,8 +127,8 @@ LL | pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut
127127LL | *ap0 = ap1.clone();
128128 | ^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
129129 |
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`
132132 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
133133
134134error: lifetime may not live long enough
@@ -141,8 +141,8 @@ LL | pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut
141141LL | *ap0 = ap1.clone();
142142 | ^^^^^^^^^^^ argument requires that `'2` must outlive `'1`
143143 |
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`
146146 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
147147
148148error: aborting due to 11 previous errors
0 commit comments