Skip to content

Conversation

@scottmcm
Copy link
Member

@scottmcm scottmcm commented Nov 15, 2025

Looking to address this open item from #31436

Add a test confirming that it's an ExprWithBlock, so works in a match arm without a comma

It turns out that #120540 addressed that one, but it made me think of this other case that probably ought to have some kind of test as well.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 15, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 15, 2025

r? @jackh726

rustbot has assigned @jackh726.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@@ -0,0 +1,24 @@
//@ check-fail
//@ edition: 2018
Copy link
Member

Choose a reason for hiding this comment

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

A bit wonder about why edition 2018

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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants