Why thread_local! statics can only be accessed inside `with`

But this does not compile:

Just thinking about on what should I write to break this example.