Suboptimal hint about converting numeric types: Suggests try_into().unwrap()
when into()
is possible.
#71580
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
(Playground)
Errors:
I would’ve expected something like:
Edit: What actually should happen is the same as currently already with
_: u64
, i.e. it would look like@rustbot modify labels: A-diagnostics, T-compiler, D-papercut, C-enhancement, E-easy
This issue has been assigned to @samrat via this comment.
The text was updated successfully, but these errors were encountered: