You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rustc --lib foo.rs
warning: missing crate link meta `name`, using `foo` as default
warning: missing crate link meta `vers`, using `0.0` as default
$ rustc main.rs -L .
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
If foo::foo is declared as pub, the code compiles successfully.
The text was updated successfully, but these errors were encountered:
It feels relatively unlikely to me that this relates directly to #4202, but I'll try to take a look at this later in the week -- unless of course you're keen to fix it yourself @gifnksm :)
The error message of the ICE is "'lookup_item: id not found: 11', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/metadata/decoder.rs:86".
But, this appears to work fine with my stage1 compiler, despite reproducing on stage0. Reopen if this comes back, I guess?
Following code causing ICE.
foo.rs
main.rs
If
foo::foo
is declared aspub
, the code compiles successfully.The text was updated successfully, but these errors were encountered: