I'm a bit confused by the wording of the error message.
How about "a thread local variable can only be initialized inside static this()" or with actually naming the error
"cannot initialize a thread local variable inside shared static this(), use static this() instead".