-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Unboxed closures ICE: Expected(expected EBML doc with tag EsEnumVid but found tag 27) #18378
Comments
clearly a metadata issue |
#16790 is also an unboxed closure metadata bug. I don't think there's been much cross-crate testing of the feature yet, so I expect there are a bunch of issues like this to shake out. |
cc @bkoropoff |
oops, sorry, github was being slow and I didn't see the comment. |
bkoropoff
added a commit
to bkoropoff/rust
that referenced
this issue
Nov 2, 2014
Closes rust-lang#18378. Note that cross-crate unboxed closures are still unimplemented and will fail to work currently.
bkoropoff
added a commit
to bkoropoff/rust
that referenced
this issue
Nov 2, 2014
bors
added a commit
that referenced
this issue
Nov 5, 2014
…=nick29581 This fixes some metadata/AST encoding problems that lead to ICEs. The way this is currently handled will need revisiting if abstract return types are added, as unboxed closure types from extern crates could show up without being inlined into the local crate. Closes #16790 (I think this was fixed earlier by accident and just needed a test case) Closes #18378 Closes #18543 r? @pcwalton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue assumes the presence of PR #18144 (otherwise, it hits the issue resolved by the PR.
Reproducing requires building an rlib and then using the rlib:
foo.rs:
and using the lib:
output:
The text was updated successfully, but these errors were encountered: