Commits
Click on a commit to change the comparison rangeRemove the assert for interned structs that `last_interned_at >= last_changed_revision`
This assert was incorrect, in a subtle but important case (which caused half of rust-analyzer tests to panic): if a struct was interned inside a query, there is indeed no way to make `last_changed_revision` pass past it. But if it was created *outside* any query, it actually can. In the simplest case (which is also what happened in rust-analyzer), the same non-query function that interned it can create a new revision, then obtain its fields.
I couldn't find a way to make this assert reliable, so I just deleted it. I think (hope) this assert was just defensive and not really needed, in which case removing it is fine.19 hours ago
by ChayimFriedman2