Skip to content

Add diagnostic items for {debug_,}assert_matches! macros - #166677

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
hsanzg:assert-matches-diag-items
Nov 28, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
hsanzg:assert-matches-diag-items

Conversation

@hsanzg

@hsanzg hsanzg commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

These are required by rust-lang/rust-clippy#18130, which will add support for these macros to the bool_assert_comparison lint.

@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. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 27, 2026
@rustbot

rustbot commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

r? @panstromek

rustbot has assigned @panstromek.
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, libs
  • compiler, libs expanded to 103 candidates
  • Random selection from 20 candidates

@hsanzg
hsanzg force-pushed the assert-matches-diag-items branch from 9583972 to 1bfc617 Compare November 27, 2026 20:15
@panstromek

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 1bfc617 has been approved by panstromek

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Nov 28, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 28, 2026
…uwer

Rollup of 3 pull requests

Successful merges:

 - #166565 (Call `check_def_id` when meeting assoc consts)
 - #166639 (Add `DropGuard` and `conjure_zst` to `core::mem` summary documentation.)
 - #166677 (Add diagnostic items for `{debug_,}assert_matches!` macros)
@rust-bors
rust-bors Bot merged commit a07f171 into rust-lang:main Nov 28, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 28, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 28, 2026
Rollup merge of #166677 - hsanzg:assert-matches-diag-items, r=panstromek

Add diagnostic items for `{debug_,}assert_matches!` macros

These are required by rust-lang/rust-clippy#18130, which will add support for these macros to the `bool_assert_comparison` lint.
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. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants