-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE: unexpected failure path, comparing in librustc/middle/trans/datum.rs #17336
Comments
huonw
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
A-DSTs
Area: Dynamically-sized types (DSTs)
labels
Sep 17, 2014
Can confirm this still results in an ICE.
|
Triage: still ICEs. |
#28270 fixed this. |
I'll add a regression test for this |
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Oct 12, 2015
bors
added a commit
that referenced
this issue
Oct 13, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Happens on WIndows 7 x64 with latest Rust 32-bit nightly.
rustc -v verbose
:(On a side note, is there any way to work out what the latest released nightly version is?)
test-ice.rs
:Compiling with
rustc test-ice.rs
produces:#[allow(dead_code)]
is there to suppress the warning,main
can be removed if you compile the rest as a library. Also works if you substitute the expression forx
directly and if you pass two&str
arguments (the original use case).The original intent was to tell if two
&str
s were identical as a sanity check.The text was updated successfully, but these errors were encountered: