Skip to content

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Jul 20, 2021

#49 introduced some inconsistencies (see #49 (comment)), but also left the door open for non-backref-induced stack overflows, which I'm guessing we want to avoid.

See the recursion_limit_backref_free_bypass test for an example of a long symbol that used to introduce a stack overflow, through sheer nested types (a long string of R i.e. & references).

@alexcrichton
Copy link
Member

Looks reasonable to me, thanks!

@alexcrichton alexcrichton merged commit d7ea01a into rust-lang:main Jul 20, 2021
@eddyb eddyb deleted the fix-recursion-limit-bypass branch July 20, 2021 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants