Last active
December 23, 2015 05:39
-
-
Save MarkJr94/6588904 to your computer and use it in GitHub Desktop.
Static issue???
This file contains 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
struct Test { | |
mem: int, | |
mem2: int, | |
} | |
pub static g_test: Test = Test { | |
mem: 0, | |
mem2: 0, | |
}; | |
impl Drop for Test { | |
fn drop(&self) { | |
} | |
} | |
fn main() { | |
} | |
mark@seti-desktop:~/rust/src/clashrs$ RUST_LOG=rustc=1 rustc test.rs | |
task <unnamed> failed at 'assertion failed: `(left == right) && (right == left)` (left: `2u`, right: `3u`)', /build/buildd/rust-nightly-201309160805~3fbfab0~raring/src/librustc/middle/trans/adt.rs:545 | |
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 | |
task <unnamed> failed at 'explicit failure', /build/buildd/rust-nightly-201309160805~3fbfab0~raring/src/librustc/rustc.rs:377 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment