Florian Diebold a0a80a4103 Implement Chalk's debug methods using TLS
Chalk now panics if we don't implement these methods and run with CHALK_DEBUG,
so I thought I'd try to implement them 'properly'. Sadly, it seems impossible to
do without transmuting lifetimes somewhere. The problem is that we need a `&dyn
HirDatabase` to get names etc., which we can't just put into TLS. I thought I
could just use `scoped-tls`, but that doesn't support references to unsized
types. So I put the `&dyn` into another struct and put the reference to *that*
into the TLS, but I have to transmute the lifetime to 'static for that to work.
2020-04-10 15:04:06 +02:00
..
2020-03-31 09:02:12 -04:00
2020-04-09 23:42:01 +02:00
2020-04-01 18:56:47 +02:00
2020-04-09 23:42:01 +02:00
2020-04-09 23:42:01 +02:00
2020-04-06 17:21:33 +03:00
2020-04-10 00:17:32 +08:00
2020-04-03 19:01:44 +08:00
2020-04-09 13:04:01 +08:00
2020-03-30 11:33:01 +02:00
2020-04-09 23:42:01 +02:00
2020-04-10 00:17:32 +08:00
2020-04-06 17:00:18 +02:00
2020-04-06 14:04:26 +03:00