Recursive trait constraints crash compiler with exit code 3221225501 #51296
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I've got a crate that doesn't compile, it just starts eating memory until it stops without an error message. Only passing the
--verbose
flag tocargo build
tells meSeems to be the same exit code as in #42544.
Here's the (not exactly minimal) example to reproduce the issue:
Removing the
StrategyA
parts causes it to produce an "overflow evaluating the requirement …" error, not sure whether related.The text was updated successfully, but these errors were encountered: