-
Notifications
You must be signed in to change notification settings - Fork 13k
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
SIGABRT ICE in proc macro #100257
Comments
Worth noting: this happens both on nightly and on stable. |
I believe this is a dupe of #63804. Sticking proc_macro types in TLS is not supported (which is what |
This isn't holding the generated token streams outside the lifetime of the macro invocation though, so shouldn't it be fine? |
The rust/library/proc_macro/src/bridge/client.rs Line 313 in 93ab13b
As for why the error is so opaque ( |
Should this issue be closed as not a bug? |
I think it should be closed as duplicate, but its up to you. |
This is a really weird one... and it might be a bit of a mess to debug. I honestly wish I could tell you more, but this is beyond my knowledge of the compiler.
Code
This requires multiple crates, due to it being a proc macro issue. Here is the smallest reproducible case I was able to create.
Meta
rustc --version --verbose
:Error output
There is no backtrace, since it failed to initiate a panic, and therefore failed to initiate a stack unwind.
The text was updated successfully, but these errors were encountered: