mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix: Fix parsing of nested tuple field accesses in a cursed way
This commit is contained in:
parent
dab685dd87
commit
6fa6efe90f
13 changed files with 298 additions and 39 deletions
|
@ -102,7 +102,7 @@ impl TopEntryPoint {
|
|||
match step {
|
||||
Step::Enter { .. } => depth += 1,
|
||||
Step::Exit => depth -= 1,
|
||||
Step::Token { .. } | Step::Error { .. } => (),
|
||||
Step::FloatSplit { .. } | Step::Token { .. } | Step::Error { .. } => (),
|
||||
}
|
||||
}
|
||||
assert!(!first, "no tree at all");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue