mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Get tests working
This commit is contained in:
parent
0f3a54dd4d
commit
c32529ddd0
5 changed files with 19 additions and 7 deletions
|
@ -565,10 +565,10 @@ fn meta_var_expr(p: &mut Parser) -> CompletedMarker {
|
|||
it
|
||||
}
|
||||
_ => {
|
||||
while !p.at(R_DOLLAR) {
|
||||
while !p.at(EOF) && !p.at(R_DOLLAR) {
|
||||
p.bump_any()
|
||||
}
|
||||
p.bump(R_DOLLAR);
|
||||
p.eat(R_DOLLAR);
|
||||
m.complete(p, ERROR)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue