Skip to content

Update snapshots to reflect changes from mozilla/rust-code-analysis#1263 - #7

Merged
marco-c merged 1 commit into
mainfrom
error-root-unit
Nov 21, 2026
Merged

marco-c merged 1 commit into
mainfrom
error-root-unit

Conversation

@marco-c

@marco-c marco-c commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

mozilla/rust-code-analysis#1263 makes the root of the tree always open a unit space, even when error recovery makes it an ERROR node.

The roots of these files were not the whole file:

  • kenlm/lm/model.hh: a namespace spanning line 22, now a unit spanning lines 1-157;
  • the two pywrapfst.cc files: a struct spanning lines 391-395, now a unit spanning the whole file (57363 lines).

marco-c added a commit to mozilla/rust-code-analysis that referenced this pull request Nov 21, 2026
The roots of DeepSpeech's kenlm/lm/model.hh and of the two pywrapfst.cc
files are now units spanning the whole file
(mozilla/rust-code-analysis-output#7).
@marco-c
marco-c merged commit f00d7c7 into main Nov 21, 2026
marco-c added a commit to mozilla/rust-code-analysis that referenced this pull request Nov 21, 2026
@marco-c
marco-c deleted the error-root-unit branch November 21, 2026 17:14
marco-c added a commit to mozilla/rust-code-analysis that referenced this pull request Nov 21, 2026
The roots of DeepSpeech's kenlm/lm/model.hh and of the two pywrapfst.cc
files are now units spanning the whole file
(mozilla/rust-code-analysis-output#7).
marco-c added a commit to mozilla/rust-code-analysis that referenced this pull request Nov 21, 2026
The roots of DeepSpeech's kenlm/lm/model.hh and of the two pywrapfst.cc
files are now units spanning the whole file
(mozilla/rust-code-analysis-output#7).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant