Skip to content

Clarify E0381 diagnostics for branch conditions#156603

Open
eval-exec wants to merge 1 commit into
rust-lang:mainfrom
eval-exec:e0381-diagnostic-condition-note
Open

Clarify E0381 diagnostics for branch conditions#156603
eval-exec wants to merge 1 commit into
rust-lang:mainfrom
eval-exec:e0381-diagnostic-condition-note

Conversation

@eval-exec
Copy link
Copy Markdown
Contributor

@eval-exec eval-exec commented May 15, 2026

this pr want to fix: #156494

Copilot AI review requested due to automatic review settings May 15, 2026 11:09
@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 May 15, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 15, 2026

r? @mati865

rustbot has assigned @mati865.
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: compiler
  • compiler expanded to 73 candidates
  • Random selection from 17 candidates

@eval-exec eval-exec marked this pull request as draft May 15, 2026 11:12
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2026

This comment was marked as off-topic.

@rust-log-analyzer

This comment has been minimized.

@eval-exec eval-exec force-pushed the e0381-diagnostic-condition-note branch from b0e5f62 to cb680f9 Compare May 15, 2026 11:33
@eval-exec eval-exec marked this pull request as ready for review May 15, 2026 11:34
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 15, 2026
@eval-exec eval-exec marked this pull request as draft May 15, 2026 11:34
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2026
@eval-exec eval-exec marked this pull request as ready for review May 15, 2026 11:36
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 15, 2026
@mati865
Copy link
Copy Markdown
Member

mati865 commented May 15, 2026

@rustbot reroll

@rustbot rustbot assigned nikomatsakis and unassigned mati865 May 15, 2026
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.

E0381 incorrectly reports potentially uninitialized usage

6 participants