@WG-prioritization/alerts issue #77329 has been requested for prioritization.
I would go with P-high. The code is very special, but is also really short and simple.
Sounds like medium, since no one noticed it for so long, and doesn't seem like a lot of crates depend on it.
I'd be okay with high too.
cc @lcnr (the
P-medium or P-low, this is invalid code and unnoticed for long time.
the array of type unit with that expression should compile? :thinking:
I don't know, the size of the array is a lambda, which should be invalid.
As I posted (https://github.com/rust-lang/rust/issues/77329#issuecomment-700635636), this bug seems to occur in more general code: impl Trait with array type whose size is closure.
Medium still seems good to me; it's still invalid code.
Issue #77329's prioritization request has been removed.
Hameer Abbasi [said](https://rust-lang.zulipchat.com/#narrow/stream/245100-t-compiler.2Fwg-prioritization.2Falerts/topic/I-prioritize.20.2377329.20Stable.20ICE.3A.20assertion.20failed.3A.20.60(left.20.3D.3D.E2.80.A6/near/211603848):
cc lcnr (the
thanks for notifying me :heart: using closures in constants currently doesn't make much sense as they can't actually be called yet, so medium seems good to me