Closed
Description
pub fn foo() { if 1 == 1 { return; } println!("test"); }
$ rustc --crate-type=dylib ./foo.rs
error: internal compiler error: encode_symbol: id not found 15
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_LOG=std::rt::backtrace` for a backtrace
task 'rustc' failed at '~Any', /Users/alex/code/rust-opt/src/libsyntax/diagnostic.rs:123