You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This case might be fixable by suppressing the lint if the argument lifetime equals the return lifetime. I'll take a look once the build is working again.
This code:
Produces:
However, the
outer
cannot be passed by value as then it would not live long enough to return a reference to the field.The code this was extracted from could either return a reference to the passed struct or from
self
. It cannot simply copy the field on return.The text was updated successfully, but these errors were encountered: