rust complains about "const fn" which was never declared as such #97082
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
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.
Given the following code:
The current output is:
IMO it's a bit weird that rust tells me about a "const fn" since there is none in the code snippet...? 😅
The text was updated successfully, but these errors were encountered: