Closed nazar-pc closed 10 hours ago
I have a function of this kind under async_trait:
async_trait
async fn contents( &self, ) -> Box< dyn Stream<Item = Result<ABC, FarmError>> + Unpin + Send + '_, > { }
In latest nightly I'm getting the following warning:
| 111 | &self, | - lifetime `'life0` declared here ... 117 | + '_, | ^^ this elided lifetime gets resolved as `'life0` | = note: `#[warn(elided_named_lifetimes)]` on by default
It comes from generated code and I'm reluctant to actually writing 'life0 explicitly in such cases.
'life0
Would be nice to convert these it in the macro automatically.
This was fixed several weeks ago.
I have a function of this kind under
async_trait
:In latest nightly I'm getting the following warning:
It comes from generated code and I'm reluctant to actually writing
'life0
explicitly in such cases.Would be nice to convert these it in the macro automatically.