Created
April 18, 2013 18:54
-
-
Save euphoris/5415288 to your computer and use it in GitHub Desktop.
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
$ RUST_LOG=rustc=1,::rt::backtrace rustc ice.rs | |
rust: task failed at 'assertion failed: !bcx.ccx().maps.moves_map.contains(&arg_expr.id)', /Users/jae-myoungyu/Documents/rust-0.6/src/librustc/middle/trans/callee.rs:705 | |
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,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues | |
rust: task failed at 'explicit failure', /Users/jae-myoungyu/Documents/rust-0.6/src/librustc/rustc.rc:357 | |
rust: domain main @0x7fc2a0818e10 root task failed |
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 matrix; | |
impl Drop for matrix { | |
fn finalize(&self) {} | |
} | |
impl Add<matrix, matrix> for matrix { | |
fn add(&self, _rhs: &matrix) -> matrix{ | |
matrix | |
} | |
} | |
fn main(){ | |
let mut m = matrix; | |
m += matrix; // an ICE is occured | |
//m = m + matrix; // not occured | |
info!(m); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment