Weird error message for non-const const fns #59611
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The name
min_const_fn
seems meaningless to an end user. It should say something like "only callconst
functions withinconst
functions."The text was updated successfully, but these errors were encountered: