overflow evaluating the requirement &_: IntoIterator #15165
Labels
C-Bug
An unexpected or incorrect behavior
P-Compile-Failure
A failure to compile Bevy apps
S-Blocked
This cannot move forward until something else changes
Bevy version
0.14.2
What you did
Refactored.... 😄
So an unfortunate refactor started giving me the error.
I had a
Query
argument that got changed to aRes
, but there was a for-loop that was iterating over said argument that never got changed...Here is a minimal example that reproduces the problem:
What went wrong
Got the error "error[E0275]: overflow evaluating the requirement &_: IntoIterator" without any line information or concrete information of any kind...
Fortunately I hadn't made many modifications and could quickly track down the source of the problem.
Full error:
Additional information
Seems related to rust-lang/rust#118476 for the part where there is no line information whatsoever.
The full type name just because it's amusing:
The text was updated successfully, but these errors were encountered: