Stream: t-compiler/rust-analyzer

Topic: frequent panic while working on hir_ty


Florian Diebold (Mar 20 2021 at 17:52, on Zulip):

I don't know if anyone else has noticed this, but RA is panicking a lot while working on hir_ty. Turns out there's a definition in ena that triggers a query cycle that we're supposed to recover from, but there's a bug in Salsa with the cycle recovery that then causes panics. That ena code shouldn't actually cause a cycle though (it doesn't in rustc), so I'll try to fix that

Florian Diebold (Mar 20 2021 at 17:53, on Zulip):

@matklad @nikomatsakis I have no idea how to fix that Salsa panic though

Jonas Schievink [he/him] (Mar 20 2021 at 17:54, on Zulip):

Ah, I think I've hit that bug too

Last update: Jul 26 2021 at 13:15UTC