-Znext-solver overflow evaluating the requirement #137973
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
WG-trait-system-refactor
The Rustc Trait System Refactor Initiative (-Znext-solver)
I tried this code:
I expected to see this happen: On the current trait solver the above code compiles so it would be expected that the new trait solver also does.
Instead, this happened: The new trait solver reports an overflow attempting to evaluate the trait bound.
I isolated this from a project of mine that has hit this a few times. The core issue seems to be the
pattern seen in the code above. However, the failure to evaluate the bound doesn't always trigger when using a trait of that form.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: