@@ -47,7 +47,7 @@ LL | *ap0 = ap1;
47
47
|
48
48
= note: expected type `core::ffi::VaListImpl<'_>`
49
49
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...
51
51
--> $DIR/variadic-ffi-4.rs:19:1
52
52
|
53
53
LL | / pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
@@ -80,7 +80,7 @@ LL | | *ap0 = ap1;
80
80
LL | |
81
81
LL | | }
82
82
| |_^
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
84
84
--> $DIR/variadic-ffi-4.rs:19:1
85
85
|
86
86
LL | / pub unsafe extern "C" fn no_escape3(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
@@ -106,7 +106,7 @@ LL | |
106
106
LL | |
107
107
LL | | }
108
108
| |_^
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
110
110
--> $DIR/variadic-ffi-4.rs:24:1
111
111
|
112
112
LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -126,7 +126,7 @@ LL | ap0 = &mut ap1;
126
126
|
127
127
= note: expected type `&mut core::ffi::VaListImpl<'_>`
128
128
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...
130
130
--> $DIR/variadic-ffi-4.rs:24:1
131
131
|
132
132
LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -168,7 +168,7 @@ LL | |
168
168
LL | |
169
169
LL | | }
170
170
| |_^
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
172
172
--> $DIR/variadic-ffi-4.rs:24:1
173
173
|
174
174
LL | / 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
186
186
LL | ap0 = &mut ap1;
187
187
| ^^^^^^^^
188
188
|
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...
190
190
--> $DIR/variadic-ffi-4.rs:24:1
191
191
|
192
192
LL | / pub unsafe extern "C" fn no_escape4(_: usize, ap0: &mut VaListImpl, mut ap1: ...) {
@@ -227,7 +227,7 @@ LL | *ap0 = ap1.clone();
227
227
|
228
228
= note: expected type `core::ffi::VaListImpl<'_>`
229
229
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...
231
231
--> $DIR/variadic-ffi-4.rs:32:1
232
232
|
233
233
LL | / pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
@@ -260,7 +260,7 @@ LL | | *ap0 = ap1.clone();
260
260
LL | |
261
261
LL | | }
262
262
| |_^
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
264
264
--> $DIR/variadic-ffi-4.rs:32:1
265
265
|
266
266
LL | / pub unsafe extern "C" fn no_escape5(_: usize, mut ap0: &mut VaListImpl, mut ap1: ...) {
0 commit comments