-
Notifications
You must be signed in to change notification settings - Fork 106
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
Strange compiler errors when doing super simple example #214
Comments
That's weird. Can you share a more complete example? I was unable to reproduce it with Rust 1.39 and I suspect something in your module is getting pulled into the peg-generated module by the |
Do you have a In the meantime, a workaround is to put the |
Thank you very much, it was my own Result type that made things go wrong! |
Hello,
when using this crate with the following super simple grammar:
I get a weird error:
Interestingly, if I remove the
pub
specifier from the rule it works, but then the rule is no longer useable. Am I doing something wrong?Thanks in advance.
The text was updated successfully, but these errors were encountered: