Skip to content

Conversation

@Sekar-C-Mca
Copy link
Contributor

@Sekar-C-Mca Sekar-C-Mca commented Jan 3, 2026

Line 171 introduced and as variable names, but
line 172 incorrectly used . This commit fixes the
inconsistency to use the correct variable names throughout.

Fixes #149803

@rustbot
Copy link
Collaborator

rustbot commented Jan 3, 2026

Some changes occurred in exhaustiveness checking

cc @Nadrieril

@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 Jan 3, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 3, 2026

r? @nnethercote

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

@rustbot

This comment has been minimized.

Line 171 introduced `pt_1, .., pt_n` and `qt` as variable names, but
line 172 incorrectly used `tp_1, .., tp_n, tq`. This commit fixes the
inconsistency to use the correct variable names throughout.
@Sekar-C-Mca Sekar-C-Mca force-pushed the fix-pattern-usefulness-typo branch from b26dfe7 to 65c1070 Compare January 3, 2026 17:16
@nnethercote
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jan 3, 2026

📌 Commit 65c1070 has been approved by nnethercote

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 3, 2026
bors added a commit that referenced this pull request Jan 4, 2026
Rollup of 2 pull requests

Successful merges:

 - #150596 (Add tracking issue for sized_hierarchy)
 - #150651 (Fix typo in pattern usefulness documentation)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit c0c4525 into rust-lang:main Jan 4, 2026
11 checks passed
rust-timer added a commit that referenced this pull request Jan 4, 2026
Rollup merge of #150651 - Sekar-C-Mca:fix-pattern-usefulness-typo, r=nnethercote

Fix typo in pattern usefulness documentation

Line 171 introduced  and  as variable names, but
line 172 incorrectly used . This commit fixes the
inconsistency to use the correct variable names throughout.

Fixes #149803
@rustbot rustbot added this to the 1.94.0 milestone Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

Confusing typo in rustc_pattern_analysis::usefulness

4 participants