-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in 3.3.4 (reached the instantiation recursion limit) #172
Comments
It seems that 5257988 increased the function nesting just enough to bring toml_edit over the recursion limit for monomorphizing (which seems to be 64). Increasing it with #![recursion_limit = "87"] seems to enough to make it compile again whereas 61 is enough with combine 3.3.1. Since the function that hit the limit is so close already I don't think I can fix this in combine unfortunately (without reverting the bug fix). |
Ok, if it can't be reverted, I'm going to close this issue. |
@ordian I opened an issue on rust-lang/rust to see why the limit is so low rust-lang/rust#51951 (compared to macro expansion) |
I was also having this issue. I assume that the only solution is to convert a subset of the parsers to use Boxed parsers (given that the grammar I'm parsing can't change). Is that correct? |
@nikklassen You can bump the recursion limit by specifying |
toml_edit fails to compile with combine
3.3.4
:The text was updated successfully, but these errors were encountered: