@pnkfelix I narrowed the ice into a smaller case last week, it seems an issue related to const-eval & closure (cc @oli )
accidentally promoting things will cause very random ICEs that are hard to make sense of. I think your example causes the crash due to the
a.b field access having messed up local variable ids and using the type from the closue instead of the struct
@oli yep, removing either the closure or the place expr, this ice will disappear.
also changing the closure to be a
u32, will cause the ICE to mention a field access on a
ok, let's just wait until the promoted fix is through