44 lines
1.8 KiB
Text
44 lines
1.8 KiB
Text
![]() |
error[E0106]: missing lifetime specifier
|
||
|
--> $DIR/ref-struct-async.rs:15:52
|
||
|
|
|
||
|
LL | async fn ref_Struct(self: &Struct, f: &u32) -> &u32 {
|
||
|
| ^
|
||
|
|
|
||
|
= note: return-position elided lifetimes require exactly one input-position elided lifetime, found multiple.
|
||
|
|
||
|
error[E0106]: missing lifetime specifier
|
||
|
--> $DIR/ref-struct-async.rs:21:61
|
||
|
|
|
||
|
LL | async fn box_ref_Struct(self: Box<&Struct>, f: &u32) -> &u32 {
|
||
|
| ^
|
||
|
|
|
||
|
= note: return-position elided lifetimes require exactly one input-position elided lifetime, found multiple.
|
||
|
|
||
|
error[E0106]: missing lifetime specifier
|
||
|
--> $DIR/ref-struct-async.rs:27:61
|
||
|
|
|
||
|
LL | async fn pin_ref_Struct(self: Pin<&Struct>, f: &u32) -> &u32 {
|
||
|
| ^
|
||
|
|
|
||
|
= note: return-position elided lifetimes require exactly one input-position elided lifetime, found multiple.
|
||
|
|
||
|
error[E0106]: missing lifetime specifier
|
||
|
--> $DIR/ref-struct-async.rs:33:70
|
||
|
|
|
||
|
LL | async fn box_box_ref_Struct(self: Box<Box<&Struct>>, f: &u32) -> &u32 {
|
||
|
| ^
|
||
|
|
|
||
|
= note: return-position elided lifetimes require exactly one input-position elided lifetime, found multiple.
|
||
|
|
||
|
error[E0106]: missing lifetime specifier
|
||
|
--> $DIR/ref-struct-async.rs:39:66
|
||
|
|
|
||
|
LL | async fn box_pin_Struct(self: Box<Pin<&Struct>>, f: &u32) -> &u32 {
|
||
|
| ^
|
||
|
|
|
||
|
= note: return-position elided lifetimes require exactly one input-position elided lifetime, found multiple.
|
||
|
|
||
|
error: aborting due to 5 previous errors
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0106`.
|