-
-
Save erickt/2381410 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[link(name = "a", vers = "0.1")]; | |
#[crate_type = "lib"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[link(name = "b", vers = "0.1")]; | |
#[crate_type = "lib"]; | |
use a; | |
type d = str; | |
impl d for d { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[link(name = "c", vers = "0.1")]; | |
#[crate_type = "lib"]; | |
use b; | |
mod d; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import b::d; | |
type t = uint; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// blank |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use c; | |
import c::t; | |
fn main() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./run-rustc a.rs | |
warning: no debug symbols in executable (-arch x86_64) | |
./run-rustc b.rs | |
warning: no debug symbols in executable (-arch x86_64) | |
./run-rustc c.rc | |
warning: no debug symbols in executable (-arch x86_64) | |
./run-rustc e.rs | |
rust: upcall fail 'lookup_item: id not found: 7', ../src/rustc/metadata/decoder.rs:94 | |
error: internal compiler error unexpected failure | |
note: The compiler hit an unexpected failure path. This is a bug. Try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues | |
rust: upcall fail 'explicit failure', ../src/rustc/driver/rustc.rs:188 | |
rust: domain main @0x103000010 root task failed | |
make: *** [all] Error 101 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@erickt: I'm trying to get this test running. Was "impl d for d" a key part of this bug? I can't see how to get this running in modern rust. I could just take it out...