Skip to content

Prevent ICE when calling parse_attribute in parse_cfg_if_inner#5731

Merged
calebcartwright merged 1 commit intorust-lang:masterfrom
ytmimi:issue_5728
Apr 1, 2023
Merged

Prevent ICE when calling parse_attribute in parse_cfg_if_inner#5731
calebcartwright merged 1 commit intorust-lang:masterfrom
ytmimi:issue_5728

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