Skip to content
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

Chaining streams triggers "reached the recursion limit during monomorphization" #424

Closed
cetra3 opened this issue Mar 22, 2017 · 2 comments
Closed

Comments

@cetra3
Copy link

cetra3 commented Mar 22, 2017

Using this branch here: https://github.com/cetra3/apache_log/tree/recursion_limit

Trying to compile renders the following message:

cargo build
   Compiling apache_log v0.2.0 (file:///Users/cetra/Desktop/apache_log)
error: reached the recursion limit during monomorphization (selection ambiguity)

error: Could not compile `apache_log`.

I'm wondering if there is another way to accomplish what I'm trying to do, or whether there is some setting I can set to increase the recursion limit

@alexcrichton
Copy link
Member

May be related to #367 or #393 or rust-lang/rust#40003. I'd love to work around these errors but unfortunately I'm not sure how to do so :(

@cetra3
Copy link
Author

cetra3 commented Mar 22, 2017

I've posted in the main rust issue, there's no point leaving this issue open, as it appears to be a compiler bug. There might be some crazy setting you can set to bump this up.

@cetra3 cetra3 closed this as completed Mar 22, 2017
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

No branches or pull requests

2 participants