Uh oh!
There was an error while loading. Please reload this page.
Add test for semicolon recovery ICE - #108244
Merged
Merged
Conversation
rustbot
commented
Feb 19, 2023
Collaborator
(rustbot has picked a reviewer for you, use r? to override) |
Contributor
lukas-codeforce-pushed
the
semicolon-recovery-span
branch
from
February 22, 2023 15:35
e06fa9d to
611ab68Comparelukas-code
commented
Feb 22, 2023
ContributorAuthor
compiler-errors
commented
Mar 1, 2023
Contributor
@bors r+ rollup |
bors
commented
Mar 1, 2023
Collaborator
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Mar 1, 2023
…, r=compiler-errors Use span of semicolon for eager recovery in expression Instead of the span of the token after the semicolon. This will hopefully cause fewer errors from overlapping spans. fixesrust-lang#108242 based on rust-lang#108239
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Mar 1, 2023
…, r=compiler-errors Use span of semicolon for eager recovery in expression Instead of the span of the token after the semicolon. This will hopefully cause fewer errors from overlapping spans. fixesrust-lang#108242 based on rust-lang#108239
matthiaskrgr
commented
Mar 1, 2023
Member
@bors r- |
lukas-code
commented
Mar 1, 2023
ContributorAuthor
Looks like this entire recovery code is a unreachable after #108297. |
bors
commented
Mar 5, 2023
Collaborator
☔ The latest upstream changes (presumably #108747) made this pull request unmergeable. Please resolve the merge conflicts. |
matthiaskrgr
commented
Mar 5, 2023
Member
So the ICE is already fixed it seems, but we could still add the test? |
lukas-codeforce-pushed
the
semicolon-recovery-span
branch
from
March 5, 2023 13:25
611ab68 to
a435b3cComparelukas-code
commented
Mar 5, 2023
ContributorAuthor
removed everything except test @rustbot ready |
cjgillot
commented
Mar 5, 2023
Contributor
@bors r+ rollup |
bors
commented
Mar 5, 2023
Collaborator
bors added a commit
to rust-lang-ci/rust
that referenced
this pull request
Mar 6, 2023
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#108244 (Add test for semicolon recovery ICE) - rust-lang#108746 (Don't project to RPITIT that has no default value) - rust-lang#108764 (Tweaks to -Zdrop-tracking-mir) - rust-lang#108770 (Improve documentation and argument naming of some TyCtxt methods) - rust-lang#108773 (x fmt: Only check modified files locally) - rust-lang#108775 (Use the correct bound vars in return type suggestion.) - rust-lang#108776 (Make `x test tidy` less noisy) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes#108242