@WG-prioritization issue #71709 has been requested for prioritization.
Seems quite bad
Regressed 2 days ago
Concerns mutable statics, pattern matching and MIR-opts, apparently
And ICE's on valid code
seems very bad
hm well if you need a mutable static...
(MCVE + bisection is done)
if you need a mutable static I'd be inclined to p-high at most
those are incredibly rare and realistically shouldn't be used
but if replacing it with e.g. static FOO: ReallyIPromiseSync<Foo> = ...; where that's just a thin wrapper around UnsafeCell and implements Send/Sync doesn't help then yeah p-critical seems good
It does not seem to ICE in that case, assuming I have encoded your modification correctly: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=97e6580ccb092c5543d212f27cc095af