Is it possible to express concepts like closure, promoted constants, enum, struct/impl/trait, etc. in custom MIR?
Types you have to declare outside of the custom MIR bodies. MIR only applies to function bodies. Closures and promoted constants are not representable I think.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.