rust/crates
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
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Simpler acessors for keywords 2020-04-09 23:42:01 +02:00
ra_cfg
ra_db
ra_flycheck Centralize defaults 2020-04-01 18:56:47 +02:00
ra_fmt Provide more complete AST accessors to support usage in rustc 2020-04-09 11:50:37 +02:00
ra_hir Move computation of missing fields into hir 2020-04-07 18:34:17 +02:00
ra_hir_def Simpler acessors for keywords 2020-04-09 23:42:01 +02:00
ra_hir_expand Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
ra_hir_ty Implement Chalk's debug methods using TLS 2020-04-10 15:04:06 +02:00
ra_ide Simpler acessors for keywords 2020-04-09 23:42:01 +02:00
ra_ide_db Fix unnecessary braces warnings 2020-04-06 17:21:33 +03:00
ra_mbe Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
ra_parser Parse correctly fn f<T>() where T: Fn() -> u8 + Send {} 2020-04-09 13:05:41 +02:00
ra_proc_macro Introduce ra_proc_macro_srv 2020-04-03 19:01:44 +08:00
ra_proc_macro_srv Remove unused func 2020-04-09 13:04:01 +08:00
ra_prof Fix race in the tests 2020-03-30 11:33:01 +02:00
ra_project_model Migrate to privacy as per review commets 2020-04-02 21:09:03 +03:00
ra_syntax Simpler acessors for keywords 2020-04-09 23:42:01 +02:00
ra_text_edit
ra_tt Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
rust-analyzer fix cargo check config with custom command 2020-04-06 21:41:31 -07:00
stdx Check for eprintln on CI 2020-04-06 17:00:18 +02:00
test_utils Migrate tests .txt -> .rast 2020-04-06 14:04:26 +03:00