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
Oops, my bad. I misunderstood the RFC. My test case above does require a lifetime annotation because f has no arguments. The original code it was reduced from required one because it had multiple reference arguments. Closing this issue as invalid.
According to RFC 39: Lifetime Elision this should be legal:
but it fails to compile with:
This is part of #15552, so I think it should be nominated for 1.0 blocking.
The text was updated successfully, but these errors were encountered: