We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
This was fixed several weeks ago.
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: