Skip to content

fix: question_mark suggestion caused error#16656

Merged
dswij merged 1 commit intorust-lang:masterfrom
relaxcn:question_mark
Mar 14, 2026
Merged

fix: question_mark suggestion caused error#16656
dswij merged 1 commit intorust-lang:masterfrom
relaxcn:question_mark

Conversation

@relaxcn
Copy link
Contributor

@relaxcn relaxcn commented Mar 1, 2026

Closes: #16654

changelog: [question_mark]: fix suggestion-caused-error caused by semicolon inference relying only on parent-node shape.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 1, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 1, 2026

r? @dswij

rustbot has assigned @dswij.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: 7 candidates
  • 7 candidates expanded to 7 candidates
  • Random selection from Jarcho, dswij, llogiq, samueltardieu

Copy link
Member

@dswij dswij left a comment

Choose a reason for hiding this comment

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

@dswij dswij added this pull request to the merge queue Mar 14, 2026
Merged via the queue into rust-lang:master with commit 7849496 Mar 14, 2026
11 of 13 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 14, 2026
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.

cargo clippy --fix suggesting incorrect code

3 participants