@@ -47,7 +47,7 @@ LL | *ap0 = ap1;
4747 |
4848 = note: expected type `core::ffi::VaListImpl<'_>`
4949 found type `core::ffi::VaListImpl<'_>`
50- note: the anonymous lifetime #3 defined on the function body at 19:1...
50+ note: the anonymous lifetime #124 defined on the function body at 19:1...
5151 --> $DIR/variadic-ffi-4.rs:19:1
5252 |
5353LL | / pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
@@ -80,7 +80,7 @@ LL | | *ap0 = ap1;
8080LL | |
8181LL | | }
8282 | |_^
83- note: ...does not necessarily outlive the anonymous lifetime #3 defined on the function body at 19:1
83+ note: ...does not necessarily outlive the anonymous lifetime #124 defined on the function body at 19:1
8484 --> $DIR/variadic-ffi-4.rs:19:1
8585 |
8686LL | / pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
@@ -106,7 +106,7 @@ LL | |
106106LL | |
107107LL | | }
108108 | |_^
109- note: but the borrow lasts for the anonymous lifetime #3 defined on the function body at 24:1
109+ note: but the borrow lasts for the anonymous lifetime #124 defined on the function body at 24:1
110110 --> $DIR/variadic-ffi-4.rs:24:1
111111 |
112112LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -126,7 +126,7 @@ LL | ap0 = &mut ap1;
126126 |
127127 = note: expected type `&mut core::ffi::VaListImpl<'_>`
128128 found type `&mut core::ffi::VaListImpl<'_>`
129- note: the anonymous lifetime #3 defined on the function body at 24:1...
129+ note: the anonymous lifetime #124 defined on the function body at 24:1...
130130 --> $DIR/variadic-ffi-4.rs:24:1
131131 |
132132LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -168,7 +168,7 @@ LL | |
168168LL | |
169169LL | | }
170170 | |_^
171- note: ...does not necessarily outlive the anonymous lifetime #3 defined on the function body at 24:1
171+ note: ...does not necessarily outlive the anonymous lifetime #124 defined on the function body at 24:1
172172 --> $DIR/variadic-ffi-4.rs:24:1
173173 |
174174LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -186,7 +186,7 @@ error[E0495]: cannot infer an appropriate lifetime for borrow expression due to
186186LL | ap0 = &mut ap1;
187187 | ^^^^^^^^
188188 |
189- note: first, the lifetime cannot outlive the anonymous lifetime #3 defined on the function body at 24:1...
189+ note: first, the lifetime cannot outlive the anonymous lifetime #124 defined on the function body at 24:1...
190190 --> $DIR/variadic-ffi-4.rs:24:1
191191 |
192192LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -227,7 +227,7 @@ LL | *ap0 = ap1.clone();
227227 |
228228 = note: expected type `core::ffi::VaListImpl<'_>`
229229 found type `core::ffi::VaListImpl<'_>`
230- note: the anonymous lifetime #3 defined on the function body at 32:1...
230+ note: the anonymous lifetime #124 defined on the function body at 32:1...
231231 --> $DIR/variadic-ffi-4.rs:32:1
232232 |
233233LL | / pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
@@ -260,7 +260,7 @@ LL | | *ap0 = ap1.clone();
260260LL | |
261261LL | | }
262262 | |_^
263- note: ...does not necessarily outlive the anonymous lifetime #3 defined on the function body at 32:1
263+ note: ...does not necessarily outlive the anonymous lifetime #124 defined on the function body at 32:1
264264 --> $DIR/variadic-ffi-4.rs:32:1
265265 |
266266LL | / pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
0 commit comments