``` rust fn f() -> int { (return 1, return 2) } fn main() {} ``` ``` $ rustc ice.rs error: internal compiler error: adt::represent_type called on non-ADT type ```
Activity
erickt commentedon May 11, 2014
visiting for triage. It errors with this stack trace:
ben0x539 commentedon Jun 27, 2014
Got what is probably the same error in what reduces to
fn main() { loop { (break,) } }
adt::represent_type called on non-ADT type
when returning during tuple initialization #15993erickt commentedon Sep 22, 2014
Visiting for triage, rust is still ICEing with this error message.
rollup merge of rust-lang#19780: jakub-/e-needstest
rollup merge of rust-lang#19780: jakub-/e-needstest