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
The reason is that we assign ItemKind::Struct to this kind of unit-structs, and then unconditionally try to translate these as if they were a functions (which holds true for tuple-like structs, but not unit-like structs).
The text was updated successfully, but these errors were encountered:
luqmana
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
labels
Dec 22, 2015
Will fail with
The reason is that we assign
ItemKind::Struct
to this kind of unit-structs, and then unconditionally try to translate these as if they were a functions (which holds true for tuple-like structs, but not unit-like structs).The text was updated successfully, but these errors were encountered: