-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
a.rs
use self::b::*;
mod b;
mod c;
fn main() {
}
b.rs
pub use c::A;
c.rs
use b::*;
/tmp/a.rs:1:4: 1:15 error: unresolved import
/tmp/a.rs:1 use self::b::*;
^~~~~~~~~~~
/tmp/b.rs:1:8: 1:12 error: unresolved import
/tmp/b.rs:1 pub use c::A;
^~~~
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 to get further details and report the results to github.com/mozilla/rust/issues
Breakpoint 1, 0x00007ffff7b69040 in sys::__extensions__::meth_13883::fail_with::_db4c44d01ce4116::_0$x2e8$x2dpre () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
(gdb) bt
#0 0x00007ffff7b69040 in sys::__extensions__::meth_13883::fail_with::_db4c44d01ce4116::_0$x2e8$x2dpre () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#1 0x00007ffff6c45f3a in middle::resolve::__extensions__::meth_49865::report_unresolved_imports::_a39cd0def1df38e1::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#2 0x00007ffff6c46454 in middle::resolve::__extensions__::meth_49865::report_unresolved_imports::_a39cd0def1df38e1::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#3 0x00007ffff6c2cd51 in middle::resolve::__extensions__::meth_48834::resolve_imports::_f3d16eaf7d5738::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#4 0x00007ffff6c2c812 in middle::resolve::__extensions__::meth_48828::resolve::_f3d16eaf7d5738::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#5 0x00007ffff6c86705 in middle::resolve::resolve_crate::_fe6a7a3ae4c46ad::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#6 0x00007ffff70e906e in driver::driver::phase_3_run_analysis_passes::_db59ab8869c1add::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#7 0x00007ffff70ec066 in driver::driver::compile_input::_6ff1c8e69697d762::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#8 0x00007ffff711b09d in run_compiler::_a49b14d766ca1da9::_0$x2e8$x2dpre () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#9 0x00007ffff712d63e in main::anon::expr_fn_95906 () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#10 0x00007ffff712bc39 in monitor::anon::expr_fn_95780 () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#11 0x00007ffff712968e in task::__extensions__::try_95262::anon::expr_fn_95462 () from /usr/local/bin/../lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
#12 0x00007ffff7bba305 in task::spawn::spawn_raw_newsched::anon::expr_fn_21772 () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#13 0x00007ffff7c0344e in rt::task::__extensions__::build_start_wrapper::anon::anon::expr_fn_28984 () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#14 0x00007ffff7c020cd in rt::task::__extensions__::run::anon::expr_fn_28906 () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#15 0x00007ffff6893e33 in rust_try (f=<optimized out>, fptr=<optimized out>, env=<optimized out>) at /home/jdm/sdb/rust/src/rt/rust_builtin.cpp:552
#16 0x00007ffff7c0200c in rt::task::__extensions__::meth_28904::try::_199ab8d6eb226980::_0$x2e8$x2dpre () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#17 0x00007ffff7c01ed5 in rt::task::__extensions__::meth_28902::run::_199ab8d6eb226980::_0$x2e8$x2dpre () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#18 0x00007ffff7c0317c in rt::task::__extensions__::build_start_wrapper::anon::expr_fn_28968 () from /usr/local/bin/../lib/libstd-6c65cf4b443341b1-0.8-pre.so
#19 0x0000000000000000 in ?? ()
Metadata
Metadata
Assignees
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️