Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Suggest `try_into` when possible #60159
I'm checking but, I think we have any guards against that at the moment, given this current example where rustc gives suggestions in expr context, but not const context.
It does the right thing:
referenced this pull request
Apr 29, 2019
You'll also need to extend that check to know about