False-positive "cycle detected" in const fn
with RPIT
#99793
Labels
A-const-fn
Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.
A-impl-trait
Area: impl Trait. Universally / existentially quantified anonymous types with static dispatch.
C-bug
Category: This is a bug.
I-cycle
Issue: A query cycle occurred while none was expected
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
(Playground)
I expected to see this happen: Successful compilation
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: