Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, yes, that would be great in this case. What would it do for pick_first?




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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: