Skip to content

pub mod b{use b::*;pub mod b;} compile failure #10980

Closed
@ghost

Description

╭─mindcat@mindcat-linux-pc /tmp  
╰─➤  mkdir a;echo "#[feature(globs)];pub mod b{use b::*;pub mod b;}" >> ./a/c.rs; mkdir ./a/b/;touch ./a/b/b.rs;rustc ./a/c.rs
task 'rustc' failed at 'borrowed', /home/mindcat/everyday/rust-git/src/rust/src/librustc/middle/resolve.rs:489
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler. 
We would appreciate a bug report: https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
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
task '<main>' failed at 'explicit failure', /home/mindcat/everyday/rust-git/src/rust/src/librustc/lib.rs:397

English is not my native language :(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions