You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'assertion failed: cx.const_globals().borrow_mut().insert(llptr as int, llconst).is_none()', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_trans/trans/consts.rs:244
Just taking references to the array (&'static [uint; 3]) works, so I think this is specific to slices.
I don't see why this code should be invalid, but even if it is, it should be handled better.
The text was updated successfully, but these errors were encountered:
jdm
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Feb 3, 2015
The following code raises an panic in librustc_trans:
The error happens on this assertion.
Just taking references to the array (
&'static [uint; 3]
) works, so I think this is specific to slices.I don't see why this code should be invalid, but even if it is, it should be handled better.
The text was updated successfully, but these errors were encountered: