Make try_into
const
or don't suggest try_into
in const
scope
#61065
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given:
we suggest writing
but when we do so, we complain about
try_into
not beingconst
:The text was updated successfully, but these errors were encountered: