-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Stack overflow in rustc #86556
Comments
It seems like the issue is originating from a procedural macro in
|
Oh that's very helpful, thank you! This seems to be an issue with that procedural macro in that case. I made an issue on that library. It would be helpful in my opinion if the compiler limited the recursion and printed a more detailed error message than just stating that |
That would be a… Duplicate of #56058 |
I'm running into a stack overflow in issue in rustc and I think it's related to macro, but I'm not sure. I copied the pertinent files from my project and reproduced the issue in this repository.
I expect this to compile without issue when I run
cargo build
(or at least give me a type error if there is one).Instead,
rustc
overflows stack on stable, beta, and nightly.Stable:
Beta:
Nightly:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: