Skip to content

Revert "stabilize {Arc,Rc}::is_unique" - #166400

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
clarfonthey:destabilize-is-unique
Nov 25, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
clarfonthey:destabilize-is-unique

Conversation

@clarfonthey

@clarfonthey clarfonthey commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Supercedes #165962.
Reopens #138938.

As mentioned last week: https://github.com/rust-lang/libs-team/blob/56dd8ca2e2aa2c097d8b8010da6fef790a5ec97c/minutes/2026-11-17.md#165962-arc-make-is_unique-respect-promised-ordering

(Note: this only reverts the stabilization commit, not the docs changes from the original PR. Those can stay.)

@rustbot rustbot added A-rc Area: `Rc` and `Arc` S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 23, 2026
@clarfonthey
clarfonthey marked this pull request as ready for review November 23, 2026 16:21
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 23, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 23, 2026
@rustbot

rustbot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
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: libs
  • libs expanded to 38 candidates
  • Random selection from JohnTitor, Mark-Simulacrum

@clarfonthey clarfonthey added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 23, 2026
@rustbot

rustbot commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

beta backport approved as per libs team on Zulip. A backport PR will be authored by the release team at the end of the current development cycle. Backport labels are handled by them.

@rustbot rustbot added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Nov 24, 2026
@hanna-kruppe

Copy link
Copy Markdown
Contributor

r? me @bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 7224011 has been approved by hanna-kruppe

It is now in the queue for this repository.

@rustbot rustbot assigned hanna-kruppe and unassigned JohnTitor Nov 24, 2026
@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 24, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
… r=hanna-kruppe

Revert "stabilize {Arc,Rc}::is_unique"

Supercedes rust-lang#165962.
Reopens rust-lang#138938.

As mentioned last week: https://github.com/rust-lang/libs-team/blob/56dd8ca2e2aa2c097d8b8010da6fef790a5ec97c/minutes/2026-11-17.md#165962-arc-make-is_unique-respect-promised-ordering

(Note: this only reverts the stabilization commit, not the docs changes from the original PR. Those can stay.)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
… r=hanna-kruppe

Revert "stabilize {Arc,Rc}::is_unique"

Supercedes rust-lang#165962.
Reopens rust-lang#138938.

As mentioned last week: https://github.com/rust-lang/libs-team/blob/56dd8ca2e2aa2c097d8b8010da6fef790a5ec97c/minutes/2026-11-17.md#165962-arc-make-is_unique-respect-promised-ordering

(Note: this only reverts the stabilization commit, not the docs changes from the original PR. Those can stay.)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
… r=hanna-kruppe

Revert "stabilize {Arc,Rc}::is_unique"

Supercedes rust-lang#165962.
Reopens rust-lang#138938.

As mentioned last week: https://github.com/rust-lang/libs-team/blob/56dd8ca2e2aa2c097d8b8010da6fef790a5ec97c/minutes/2026-11-17.md#165962-arc-make-is_unique-respect-promised-ordering

(Note: this only reverts the stabilization commit, not the docs changes from the original PR. Those can stay.)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 14 pull requests

Successful merges:

 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 14 pull requests

Successful merges:

 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
… r=hanna-kruppe

Revert "stabilize {Arc,Rc}::is_unique"

Supercedes rust-lang#165962.
Reopens rust-lang#138938.

As mentioned last week: https://github.com/rust-lang/libs-team/blob/56dd8ca2e2aa2c097d8b8010da6fef790a5ec97c/minutes/2026-11-17.md#165962-arc-make-is_unique-respect-promised-ordering

(Note: this only reverts the stabilization commit, not the docs changes from the original PR. Those can stay.)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 15 pull requests

Successful merges:

 - #166429 (1.100.1 relnotes)
 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 15 pull requests

Successful merges:

 - #166429 (1.100.1 relnotes)
 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
@rust-bors rust-bors Bot 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 24, 2026
@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

View changes since this unapproval

@clarfonthey
clarfonthey force-pushed the destabilize-is-unique branch from 7224011 to 37d2fa0 Compare November 24, 2026 22:23
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Nov 24, 2026
@rustbot

rustbot commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@clarfonthey

Copy link
Copy Markdown
Contributor Author

@bors try jobs=test-x86_64-gnu-stdlib-semver-check

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Revert "stabilize {Arc,Rc}::is_unique"


try-job: test-x86_64-gnu-stdlib-semver-check
@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 4ee0ec7 failed: CI
A workflow was considered to be a failure because it took only 584s. The minimum duration for CI workflows is configured to be 600s.

@clarfonthey

Copy link
Copy Markdown
Contributor Author

@bors r=hanna-kruppe

@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 37d2fa0 has been tentatively approved by hanna-kruppe

It will be put into the queue for this repository once PR CI succeeds.

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 24, 2026
@clarfonthey

Copy link
Copy Markdown
Contributor Author

@bors rollup=never p=1

@Zalathar

Copy link
Copy Markdown
Member

Scheduling: Give this a fair chance to run before a small rollup, since we can always make a larger rollup in the meantime if appropriate.

@bors p=5

@rust-bors

This comment has been minimized.

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 25, 2026
@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: hanna-kruppe
Duration: 3h 4m 14s
Pushing c3f937f to main...

@rust-bors
rust-bors Bot merged commit c3f937f into rust-lang:main Nov 25, 2026
15 of 16 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 96be22c (parent) -> c3f937f (this PR)

Test differences

Show 445 test diffs

445 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard c3f937f30ad170aa6dcb77413cde9c3fa71fda80 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. dist-x86_64-llvm-mingw: 1h 14m -> 2h 6m (+69.5%)
  2. test-pr-check-2: 21m 54s -> 36m 36s (+67.1%)
  3. test-x86_64-gnu-llvm-22: 38m 49s -> 1h 4m (+67.1%)
  4. test-various: 1h 30m -> 2h 29m (+65.6%)
  5. test-x86_64-gnu-miri: 50m 47s -> 1h 22m (+61.7%)
  6. optional-test-x86_64-gnu-autodiff: 39m 7s -> 1h (+54.9%)
  7. test-x86_64-gnu-gcc-core-tests: 11m 43s -> 17m 40s (+50.8%)
  8. dist-aarch64-msvc: 1h 18m -> 1h 53m (+45.0%)
  9. test-armhf-gnu: 1h 11m -> 1h 43m (+44.9%)
  10. test-x86_64-gnu-llvm-22-1: 1h -> 1h 25m (+41.3%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (c3f937f): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This perf run didn't have relevant results for this metric.

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

Results (primary 3.6%, secondary 3.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
9.0% [9.0%, 9.0%] 1
Regressions ❌
(secondary)
3.3% [2.1%, 4.3%] 4
Improvements ✅
(primary)
-1.8% [-1.8%, -1.8%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 3.6% [-1.8%, 9.0%] 2

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 463.314s -> 462.649s (-0.14%)
Artifact size: 405.60 MiB -> 405.61 MiB (0.00%)

@JonathanBrouwer JonathanBrouwer modified the milestones: 1.102.0, 1.101.0 Nov 25, 2026
@JonathanBrouwer JonathanBrouwer removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
[beta] backports

* #166400
* #166340
  * Minor merge conflict which was easy to resolve

r? me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rc Area: `Rc` and `Arc` beta-accepted Accepted for backporting to the compiler in the beta channel. merged-by-bors This PR was explicitly merged by bors. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.

7 participants