diff options
author | Aleksey Kladov <[email protected]> | 2019-09-12 10:38:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-09-12 10:38:07 +0100 |
commit | 3c68da792b52b9071e7e9bdac2b1cf8eb3c9e77b (patch) | |
tree | 38f7abdcd5c1ea03f8937e31504608320a46dd19 /crates/ra_hir/src/generics.rs | |
parent | d614f463dedc269bd766f74024745e4fb6ba7020 (diff) |
don't break parser error recovery in presence of macros
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!
Diffstat (limited to 'crates/ra_hir/src/generics.rs')
0 files changed, 0 insertions, 0 deletions