Skip to content

ICE when casting foreign item #18403

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

Closed
Pranz opened this issue Oct 28, 2014 · 3 comments
Closed

ICE when casting foreign item #18403

Pranz opened this issue Oct 28, 2014 · 3 comments

Comments

@Pranz
Copy link

Pranz commented Oct 28, 2014

$ rustc -v
rustc 0.13.0-nightly (bd7138dd6 2014-10-27 23:02:55 +0000)

The error message when compiling:

Compiling tcod v0.1.0 (file:///home/pranz/gitbuilds/tcod-rs)
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'expected item, found foreign item ffi::TCOD_black::TCOD_black (id=7409)', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/ast_map/mod.rs:326


Could not compile `tcod`.

The code in question: Pranz/tcod-rs@aa44e25

@Pranz
Copy link
Author

Pranz commented Oct 28, 2014

If the issue is with my code, help is wanted here: Pranz/tcod-rs#1

@Pranz
Copy link
Author

Pranz commented Oct 28, 2014

Also, changing static to const made no difference

@ghost ghost self-assigned this Dec 12, 2014
@ghost
Copy link

ghost commented Dec 12, 2014

This is fixed by #18279, closing. Thanks for your report!

@ghost ghost closed this as completed Dec 12, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant