Skip to content

Infinite recursion for &_: IntoIterator #16835

Discussion options

You must be logged in to vote

for anyone else who runs into this brick wall, i figured out what the issue was by telling the compiler to treat the first crash as a bug with

RUSTFLAGS="-Ztreat-err-as-bug=1" rustup run nightly cargo build --verbose

That alerted me to two functions which were instantiating EntityHashSet with ::from [ entity ]

that was what was causing the compiler infinite loop... so i think EntityHashSet is really fragile and crazy ... ?

Replies: 7 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ethereumdegen
Comment options

@Victoronz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alice-i-cecile
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ethereumdegen
Comment options

@Victoronz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
C-Bug An unexpected or incorrect behavior
3 participants
Converted from issue

This discussion was converted from issue #16834 on December 15, 2024 23:54.