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

Prevent ICE when calling parse_attribute in parse_cfg_if_inner #5731

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Mar 30, 2023

Fixes #5728

Previously we were ignoring the diagnostic error, which lead to the ICE. Now we properly cancel the error.

Fixes 5728

Previously we were ignoring the diagnostic error, which lead to the ICE.
Now we properly cancel the error.
Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@calebcartwright calebcartwright added release-notes Needs an associated changelog entry and removed pr-not-reviewed labels Apr 1, 2023
@calebcartwright calebcartwright merged commit 475396a into rust-lang:master Apr 1, 2023
@ytmimi ytmimi deleted the issue_5728 branch April 1, 2023 20:15
@calebcartwright calebcartwright removed the release-notes Needs an associated changelog entry label Jun 20, 2023
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.

ICE error was constructed but not emitted
2 participants