-
-
Save erickt/2689394 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.0")]; | |
#[crate_type = "lib"]; | |
iface i<T> { } | |
fn f<T>() -> i<T> { | |
impl <T> of i<T> for () { } | |
() as i::<T> | |
} |
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 a; | |
fn main() { | |
a::f::<()>(); | |
} |
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 | |
rust: upcall fail 'lookup_item: id not found: 13', /Users/etryzelaar/Projects/rust/rust/src/rustc/metadata/decoder.rs:94 | |
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=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues | |
rust: upcall fail 'explicit failure', /Users/etryzelaar/Projects/rust/rust/src/rustc/driver/rustc.rs:248 | |
rust: domain main @0x103000010 root task failed | |
rust: upcall fail 'killed', /Users/etryzelaar/Projects/rust/rust/src/libcore/task.rs:454 | |
make: *** [all] Error 101 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment