mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-15 15:27:45 +00:00
Parser has the invariant that `{}` are balanced.
Previous code tried (unsucesfuly) maintain the same invariant for
`$()` as well, but it was done in a rather ad-hoc manner: it's not at
all obvious that it is possible to maintain both invariants!