'attempt to use non-constant in a constant' should point to the constant #79919
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
(playground)
It would be nice for the error to point to
response
as the constant:The text was updated successfully, but these errors were encountered: