Hacker News new | ask | show | jobs
by wrs 181 days ago
Wow, yes, that would be great in this case. What would it do for pick_first?
1 comments

It would be similar, pointing at the other argument. Neither case would have an applicable suggestion, just point in the right direction. I don't know if at the time we emit the error for `pick_first` we're able to evaluate the function's body to see if changing the lifetimes is feasible or not.