Skip to content

Add test for coalescing of diagnostic attribute duplicates - #155294

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
mejrs:coalescing
Apr 19, 2026
Merged

Add test for coalescing of diagnostic attribute duplicates#155294
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
mejrs:coalescing

Conversation

@mejrs

@mejrsmejrs commented Apr 14, 2026

Copy link
Copy Markdown
Member

There is an existing test that warnings for duplicates are emitted, but not for the messages themselves.

@rustbotrustbot 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 Apr 14, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

r? @chenyukang

rustbot has assigned @chenyukang.
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 69 candidates
  • Random selection from 13 candidates

@rustbotrustbot added the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Apr 14, 2026
@chenyukang

Copy link
Copy Markdown
Member

@bors r=chenyukang

@rust-bors

rust-borsBot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

📋 This PR cannot be approved because it currently has the following label: S-blocked.

@mejrs

mejrs commented Apr 15, 2026

Copy link
Copy Markdown
MemberAuthor

I've removed the reference rule, whoever wants can add it back at some point

@rustbot label -S-blocked

@rustbotrustbot removed the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Apr 15, 2026
@chenyukang

Copy link
Copy Markdown
Member

@bors r=chenyukang

@rust-bors

rust-borsBot commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 1d61770 has been approved by chenyukang

It is now in the queue for this repository.

@rust-borsrust-borsBot 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 Apr 19, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Apr 19, 2026
Add test for coalescing of diagnostic attribute duplicates
There is an existing [test](github.com/rust-lang/rust/blob/main/tests/ui/diagnostic_namespace/on_unimplemented/report_warning_on_duplicated_options.rs) that warnings for duplicates are emitted, but not for the messages themselves.
@jhprattjhpratt mentioned this pull request Apr 19, 2026
rust-borsBot pushed a commit that referenced this pull request Apr 19, 2026
Rollup of 9 pull requests
Successful merges:
- #155370 (Add regression test for dead code elimination with drop + panic)
- #154823 (Replace the spdx-rs dependency with a minimal in-tree SPDX tag-value parser)
- #154972 (Implement `core::arch::return_address` and tests)
- #155294 (Add test for coalescing of diagnostic attribute duplicates)
- #155352 (triagebot.toml: Sync `assign.owners` with `autolabel."T-compiler"`)
- #155431 (Add temporary scope to assert_matches)
- #152995 (ACP Implementation of PermissionsExt for Windows )
- #153873 (deprecate `std::char` constants and functions)
- #154865 (libtest: use binary search for --exact test filtering)
jhpratt added a commit to jhpratt/rust that referenced this pull request Apr 19, 2026
Add test for coalescing of diagnostic attribute duplicates
There is an existing [test](github.com/rust-lang/rust/blob/main/tests/ui/diagnostic_namespace/on_unimplemented/report_warning_on_duplicated_options.rs) that warnings for duplicates are emitted, but not for the messages themselves.
@jhprattjhpratt mentioned this pull request Apr 19, 2026
rust-borsBot pushed a commit that referenced this pull request Apr 19, 2026
Rollup of 10 pull requests
Successful merges:
- #155370 (Add regression test for dead code elimination with drop + panic)
- #154823 (Replace the spdx-rs dependency with a minimal in-tree SPDX tag-value parser)
- #155294 (Add test for coalescing of diagnostic attribute duplicates)
- #155352 (triagebot.toml: Sync `assign.owners` with `autolabel."T-compiler"`)
- #155431 (Add temporary scope to assert_matches)
- #152995 (ACP Implementation of PermissionsExt for Windows )
- #153873 (deprecate `std::char` constants and functions)
- #154865 (libtest: use binary search for --exact test filtering)
- #154979 (add #[must_use] macros for floats)
- #155504 (Remove `AttributeLintKind` variants - part 2)
rust-borsBot pushed a commit that referenced this pull request Apr 19, 2026
…uwer
Rollup of 12 pull requests
Successful merges:
- #155370 (Add regression test for dead code elimination with drop + panic)
- #154823 (Replace the spdx-rs dependency with a minimal in-tree SPDX tag-value parser)
- #155294 (Add test for coalescing of diagnostic attribute duplicates)
- #155352 (triagebot.toml: Sync `assign.owners` with `autolabel."T-compiler"`)
- #155431 (Add temporary scope to assert_matches)
- #153873 (deprecate `std::char` constants and functions)
- #154865 (libtest: use binary search for --exact test filtering)
- #154979 (add #[must_use] macros for floats)
- #155486 (c-variadic: add roundtrip test)
- #155504 (Remove `AttributeLintKind` variants - part 2)
- #155510 (Update Tidy python executable path)
- #155514 (codegen-options docs: remove -Csoft-float)
@rust-bors
rust-borsBot merged commit fa8db59 into rust-lang:mainApr 19, 2026
11 checks passed
@rustbotrustbot added this to the 1.97.0 milestone Apr 19, 2026
rust-timer added a commit that referenced this pull request Apr 19, 2026
Rollup merge of #155294 - mejrs:coalescing, r=chenyukang
Add test for coalescing of diagnostic attribute duplicates
There is an existing [test](github.com/rust-lang/rust/blob/main/tests/ui/diagnostic_namespace/on_unimplemented/report_warning_on_duplicated_options.rs) that warnings for duplicates are emitted, but not for the messages themselves.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

3 participants

@mejrs@rustbot@chenyukang