-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
struct S(int);
impl Drop for S {
fn finalize(&self) {}
}
fn main() {
*S(42);
}
$ RUST_LOG=rustc=1,::rt::backtrace rustc newtype_ice.rs
rust: ~"invoke at newtype_ice.rs:8:5: 8:11"
rust: task failed at 'assertion failed: adt::is_newtypeish(repr)', /home/ben/code/repos/rust/src/librustc/middle/trans/datum.rs:722
[...]
Metadata
Metadata
Assignees
Labels
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️