CTFE: nullary function memoization munges backtraces #75390
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code:
produces a fairly reasonable error:
However, when I remove the dummy argument
x
, I get the following set of three separate errors:All the information is still there, but it is now not clear at all that this is in fact just a single const-eval stacktrace we are seeing here.
Cc @rust-lang/wg-const-eval
The text was updated successfully, but these errors were encountered: