Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: Compute syntax validation errors on demand #16748

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Mar 4, 2024

The LRU cache causes us to re-parse trees quite often, yet we don't use the validation errors at all. With this we push calculating them off to the caller who is interested in them.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 4, 2024
@Veykril
Copy link
Member Author

Veykril commented Mar 4, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 4, 2024

📌 Commit 11aba29 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Mar 4, 2024

⌛ Testing commit 11aba29 with merge a6ef2f0...

bors added a commit that referenced this pull request Mar 4, 2024
internal: Compute syntax validation errors on demand

The LRU cache causes us to re-parse trees quite often, yet we don't use the validation errors at all. With this we push calculating them off to the caller who is interested in them.
@bors
Copy link
Collaborator

bors commented Mar 4, 2024

💔 Test failed - checks-actions

@Veykril
Copy link
Member Author

Veykril commented Mar 4, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 4, 2024

📌 Commit c3c9f5f has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Mar 4, 2024

⌛ Testing commit c3c9f5f with merge a7e9f12...

@bors
Copy link
Collaborator

bors commented Mar 4, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing a7e9f12 to master...

@bors bors merged commit a7e9f12 into rust-lang:master Mar 4, 2024
11 checks passed
@lnicola
Copy link
Member

lnicola commented Mar 14, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants