Skip to content

Conversation

folkertdev
Copy link
Contributor

The panic message did not mention what symbols were duplicates, which made the panic hard to debug. This came up in #t-compiler/help > Easiest way to find offending duplicate symbols.

This behavior was introduced in #138682.

r? @fee1-dead

@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 Sep 8, 2025
@fee1-dead
Copy link
Member

fee1-dead commented Sep 9, 2025

cc @Kivooeo and #143596 which is apparently a similar attempt?

@fee1-dead
Copy link
Member

oops, wrong ping, sorry! @Alexendoo

@fee1-dead
Copy link
Member

This looks good to me.

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Sep 9, 2025

📌 Commit eba0934 has been approved by fee1-dead

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 Sep 9, 2025
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 9, 2025
… r=fee1-dead

report duplicate symbols added by the driver

The panic message did not mention what symbols were duplicates, which made the panic hard to debug. This came up in [#t-compiler/help > Easiest way to find offending duplicate symbols](https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/Easiest.20way.20to.20find.20offending.20duplicate.20symbols/with/538295740).

This behavior was introduced in rust-lang#138682.

r? `@fee1-dead`
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 9, 2025
… r=fee1-dead

report duplicate symbols added by the driver

The panic message did not mention what symbols were duplicates, which made the panic hard to debug. This came up in [#t-compiler/help > Easiest way to find offending duplicate symbols](https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/Easiest.20way.20to.20find.20offending.20duplicate.20symbols/with/538295740).

This behavior was introduced in rust-lang#138682.

r? ``@fee1-dead``
bors added a commit that referenced this pull request Sep 10, 2025
Rollup of 6 pull requests

Successful merges:

 - #146311 (Minor symbol comment fixes.)
 - #146340 (Strip frontmatter in fewer places)
 - #146342 (Improve C-variadic error messages: part 2)
 - #146347 (report duplicate symbols added by the driver)
 - #146374 (Update `browser-ui-test` version to `0.22.2`)
 - #146379 (Fix `compare_against_sw_vers` test)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Sep 11, 2025
Rollup of 11 pull requests

Successful merges:

 - #142315 (core::ptr: deduplicate docs for as_ref, addr, and as_uninit_ref)
 - #146335 (disable core dumps for panic-uninitialized-zeroed)
 - #146347 (report duplicate symbols added by the driver)
 - #146370 (Update the LoongArch target documentation)
 - #146379 (Fix `compare_against_sw_vers` test)
 - #146380 (Unify and deduplicate bits conv float tests)
 - #146415 (s390x: mark soft-float target feature as incompatible)
 - #146422 (Less greedily parse `[const]` bounds)
 - #146424 (Improve `core::ops` coverage)
 - #146425 (Improve `core::array` coverage)
 - #146428 (Revert `assert!` desugaring changes (#122661))

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Sep 11, 2025
Rollup of 11 pull requests

Successful merges:

 - #142315 (core::ptr: deduplicate docs for as_ref, addr, and as_uninit_ref)
 - #146335 (disable core dumps for panic-uninitialized-zeroed)
 - #146347 (report duplicate symbols added by the driver)
 - #146370 (Update the LoongArch target documentation)
 - #146379 (Fix `compare_against_sw_vers` test)
 - #146380 (Unify and deduplicate bits conv float tests)
 - #146415 (s390x: mark soft-float target feature as incompatible)
 - #146422 (Less greedily parse `[const]` bounds)
 - #146424 (Improve `core::ops` coverage)
 - #146425 (Improve `core::array` coverage)
 - #146428 (Revert `assert!` desugaring changes (#122661))

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit f38c788 into rust-lang:master Sep 11, 2025
10 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Sep 11, 2025
rust-timer added a commit that referenced this pull request Sep 11, 2025
Rollup merge of #146347 - folkertdev:duplicate-symbol-panic, r=fee1-dead

report duplicate symbols added by the driver

The panic message did not mention what symbols were duplicates, which made the panic hard to debug. This came up in [#t-compiler/help > Easiest way to find offending duplicate symbols](https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/Easiest.20way.20to.20find.20offending.20duplicate.20symbols/with/538295740).

This behavior was introduced in #138682.

r? ```@fee1-dead```
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.

4 participants