-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE on stable: Proc macro attribute usage with lazy_static #58165
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
Comments
Note: If I change use lazy_static::lazy_static; to #[macro_use]
extern crate lazy_static; It compiles fine |
After doing a clean build, I am no longer able to reproduce the ICE |
Sounds like an incr. comp. issue anyhow |
Ok, I want to give what information I was able to find |
Yeah, these issues are just really hard to track down. If you find a way to reproduce this, please post it here. |
Ok |
@KrishnaSannasi can you try renaming a variable between two builds? I had a similar issue with the same error message: #57692 You may want to verify, that it worked with nightly-2019-01-20 -ish |
I am no longer able to reproduce the issue after a clean build, so I don't know. Although, if a clean build did fix the issue, then it may be related to incremental compilation. also changing |
I just hit this, also using a proc macro with lazy_static. I moved my incremental dir, which stopped the ICE. Unfortunately moving it back for some reason no longer reproduces the problem. |
Ah, it can be reproduced by renaming a variable, but not on the most up-to-date nightly, like @hellow554 said. Closing as a dupe of #57692 then. |
Code:
Main crate:
Proc Macro Crate (telem_start)
Backtrace
The text was updated successfully, but these errors were encountered: