Uh oh!
There was an error while loading. Please reload this page.
Exit when there are unmatched delims to avoid noisy diagnostics - #108297
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
chenyukangforce-pushed
the
yukang/delim-error-exit
branch
4 times, most recently
from
February 22, 2023 07:00
297d57a to
84f8f03Comparechenyukang
commented
Feb 22, 2023
MemberAuthor
@rustbot ready |
chenyukangforce-pushed
the
yukang/delim-error-exit
branch
from
February 22, 2023 11:11
4b5fc87 to
2176d5bCompare
This comment was marked as resolved.
This comment was marked as resolved.
chenyukangforce-pushed
the
yukang/delim-error-exit
branch
from
February 23, 2023 01:31
2176d5b to
83297e1CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Contributor
There was a problem hiding this comment.
Is Parser::unclosed_delims field ever populated after this change?
MemberAuthor
There was a problem hiding this comment.
Yes, but this field is used in parser itself, I found that we could have more cleanup on Parser::unclosed_delims, maybe it's better to do it in another Pr.
chenyukangforce-pushed
the
yukang/delim-error-exit
branch
from
February 28, 2023 03:04
83297e1 to
a62fb55Comparechenyukangforce-pushed
the
yukang/delim-error-exit
branch
from
February 28, 2023 07:57
a62fb55 to
f808877Comparechenyukang
commented
Feb 28, 2023
MemberAuthor
@rustbot ready |
petrochenkov
commented
Feb 28, 2023
Contributor
@bors r+ |
bors
commented
Feb 28, 2023
Collaborator
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Feb 28, 2023
…, r=petrochenkov Exit when there are unmatched delims to avoid noisy diagnostics From rust-lang#104012 (comment) r? `@petrochenkov`
bors added a commit
to rust-lang-ci/rust
that referenced
this pull request
Mar 1, 2023
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#108297 (Exit when there are unmatched delims to avoid noisy diagnostics) - rust-lang#108531 (rustdoc: Show that repeated expression arrays can be made with constant values) - rust-lang#108536 (Update books) - rust-lang#108550 (Remove the `capture_disjoint_fields` feature) - rust-lang#108551 (Descriptive error when users try to combine RPITIT/AFIT with specialization) - rust-lang#108554 (Only look for param in item's generics if it actually comes from generics) - rust-lang#108555 (Fix a race in the query system) - rust-lang#108558 (add missing feature in core/tests) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This was referenced Mar 1, 2023
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Mar 2, 2023
…mpiler-errors Add test case for mismatched open/close delims Fixesrust-lang#104367Fixesrust-lang#105209 After landing rust-lang#108297, these issues are resolved.
This was referenced Mar 3, 2023
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Mar 4, 2023
…elims, r=compiler-errors Remove unclosed_delims from parser After landing rust-lang#108297 we could remove `unclosed_delims` from the parser now.
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Mar 4, 2023
…elims, r=compiler-errors Remove unclosed_delims from parser After landing rust-lang#108297 we could remove `unclosed_delims` from the parser now.
jhpratt added a commit
to jhpratt/rust
that referenced
this pull request
Feb 15, 2025
…, r=jieyouxu,compiler-errors Remove unnecessary check code in unused_delims After PR rust-lang#108297, we make sure there is no unmatched delims in early lint check.
rust-timer added a commit
to rust-lang-ci/rust
that referenced
this pull request
Feb 15, 2025
Rollup merge of rust-lang#137029 - chenyukang:yukang-fix-unused-check, r=jieyouxu,compiler-errors Remove unnecessary check code in unused_delims After PR rust-lang#108297, we make sure there is no unmatched delims in early lint check.
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.
From #104012 (comment)
r? @petrochenkov