-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE when compiling gl-rs #18763
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
Same issue.
|
After some investigations, it comes from these two functions:
If I remove the doccomments from the inside of EDIT: This commit removes the ICE: brendanzab/gl-rs@f14da1e EDIT2: It's because of the |
Minimal test case: vec![quote_item!(ecx, /** test */ fn hello() {})]] |
This error originates in TokenTree's fn get_tt Thanks! |
* fixed get_tt for doc comments * properly handle MatchNt in `quote` Fixes rust-lang#18763 Fixes rust-lang#18775
@pczarn is this now resolved? EDIT: I realised that you fix hasn't been merged yet. |
@dylanmckay Not yet, until the PR gets merged |
@dylanmckay Note that gl-rs has been updated to bypass these issues |
When I use cargo to compile my project which uses gl-rs, an ICE occurs. When I manually clone gl-rs and attempt to compile, I get the exact same error:
Here is the backtrace:
Note that this is using the newly updated master branches of both Rust and Cargo.
The text was updated successfully, but these errors were encountered: