Skip to content

Add field-wise CoerceShared reborrow tests - #157490

Merged
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
P8L1:split/coerceshared-field-reborrow-tests
Jun 12, 2026
Merged

Add field-wise CoerceShared reborrow tests#157490
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
P8L1:split/coerceshared-field-reborrow-tests

Conversation

@P8L1

@P8L1P8L1 commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Title. Split from #157101
r? @aapoalas

@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 Jun 5, 2026
@P8L1

P8L1 commented Jun 5, 2026

Copy link
Copy Markdown
ContributorAuthor

@rustbot label F-Reborrow

@rustbotrustbot added the F-reborrow `#![feature(reborrow)]`; see #145612 label Jun 5, 2026
@rust-log-analyzer

This comment has been minimized.

@aapoalasaapoalas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I must've mistyped the crashes path from memory and led you astray: there is an existing tests/crashes folder that we should put the currently-crashing tests into. At the same time the README.md change become unnecessary.

View changes since this review

@rustbotrustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 5, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbotrustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jun 5, 2026
@P8L1
P8L1force-pushed the split/coerceshared-field-reborrow-tests branch from ba7b0f0 to 2c51b3aCompareJune 8, 2026 19:46
@rustbot

Copy link
Copy Markdown
Collaborator

This PR changes a file inside tests/crashes. If a crash was fixed, please move into the corresponding ui subdir and add 'Fixes #' to the PR description to autoclose the issue upon merge.

@rustbot

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.

@P8L1

P8L1 commented Jun 8, 2026

Copy link
Copy Markdown
ContributorAuthor

Sorry, I must've mistyped the crashes path from memory and led you astray: there is an existing tests/crashes folder that we should put the currently-crashing tests into. At the same time the README.md change become unnecessary.

View changes since this review

I suspected something like that but ended up using the path you gave me just to be sure anyway. Thanks for the clarification.

@P8L1

P8L1 commented Jun 8, 2026

Copy link
Copy Markdown
ContributorAuthor

@rustbot ready

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 8, 2026
@P8L1
P8L1 requested a review from aapoalasJune 8, 2026 19:50
@P8L1
P8L1force-pushed the split/coerceshared-field-reborrow-tests branch from 2c51b3a to e789c33CompareJune 8, 2026 19:52
@P8L1

P8L1 commented Jun 9, 2026

Copy link
Copy Markdown
ContributorAuthor

I just noticed I have not yet removed all of the "//@ normalize-stderr: "\n\n\z" -> "\n"" will make a commit to remove those now 😅

@rust-log-analyzer

This comment has been minimized.

@P8L1
P8L1force-pushed the split/coerceshared-field-reborrow-tests branch from 50db5e5 to 16e2fd2CompareJune 9, 2026 11:24
@rust-log-analyzer

This comment has been minimized.

@aapoalasaapoalas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to bless a little, I think :) Other than that, looks good to me.

View changes since this review

@rustbotrustbot 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-review Status: Awaiting review from the assignee but also interested parties. labels Jun 11, 2026
@aapoalas

Copy link
Copy Markdown
Contributor

r=me after blessing

@bors delegate+

@rust-bors

rust-borsBot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

✌️ @P8L1, you can now approve this pull request!

If @aapoalas told you to "r=me" after making some further change, then please make that change and post @bors r=aapoalas.

View changes since this delegation.

@P8L1

P8L1 commented Jun 12, 2026

Copy link
Copy Markdown
ContributorAuthor

@bors r=aapoalas

@rust-bors

rust-borsBot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 602df86 has been approved by aapoalas

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

rust-borsBot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

⚠️ A new commit 602df86846ad6edfaae145a1bca7a8108af45dab was pushed.

This pull request was unapproved.

@P8L1

P8L1 commented Jun 12, 2026

Copy link
Copy Markdown
ContributorAuthor

r=me after blessing

@bors delegate+

I did indeed, thanks so much for the swift reviews!

@P8L1

P8L1 commented Jun 12, 2026

Copy link
Copy Markdown
ContributorAuthor

@bors r=aapoalas

@rust-bors

rust-borsBot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 602df86 has been approved by aapoalas

It is now in the queue for this repository.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jun 12, 2026
…rrow-tests, r=aapoalas
Add field-wise CoerceShared reborrow tests
Title. Split from rust-lang#157101
r? @aapoalas
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 12, 2026
…rrow-tests, r=aapoalas
Add field-wise CoerceShared reborrow tests
Title. Split from rust-lang#157101
r? @aapoalas
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 12, 2026
…rrow-tests, r=aapoalas
Add field-wise CoerceShared reborrow tests
Title. Split from rust-lang#157101
r? @aapoalas
rust-borsBot pushed a commit that referenced this pull request Jun 12, 2026
…uwer
Rollup of 17 pull requests
Successful merges:
- #156950 (Staticlib rename internal symbols)
- #157322 (test pre-stabilization items on CI)
- #157490 (Add field-wise CoerceShared reborrow tests)
- #157655 (Make Share::share final and improve docs)
- #157688 (Create experimental test job `aarch64-apple-macos-26` for evaluating `macos-26` runner images)
- #157796 (rustdoc: Some more lazy formatting)
- #157069 (Test that you can't implement Unpin for a compiler-generated future using TAIT)
- #157202 (add #[rustc_no_writable] to slice::get_unchecked_mut)
- #157622 (Disable retagging for variadic arguments in const-eval)
- #157684 (-Zassumptions-on-binders: insert empty assumptions when entering binders in the solver)
- #157695 (Extend capabilities of `TypeFoldable_Generic`)
- #157752 (Rename `errors.rs` file to `diagnostics.rs` (6/N))
- #157766 (interpret: avoid computing layout of sized raw pointee)
- #157785 (fuchsia: Support AddressSanitizer on riscv64gc-unknown-fuchsia)
- #157795 (revert 157013)
- #157798 (Prevent approving PRs that wait for Crater or formal decisions)
- #157803 (Rename `errors.rs` file to `diagnostics.rs` (7/N))
rust-borsBot pushed a commit that referenced this pull request Jun 12, 2026
…uwer
Rollup of 17 pull requests
Successful merges:
- #156950 (Staticlib rename internal symbols)
- #157322 (test pre-stabilization items on CI)
- #157490 (Add field-wise CoerceShared reborrow tests)
- #157655 (Make Share::share final and improve docs)
- #157688 (Create experimental test job `aarch64-apple-macos-26` for evaluating `macos-26` runner images)
- #157796 (rustdoc: Some more lazy formatting)
- #157069 (Test that you can't implement Unpin for a compiler-generated future using TAIT)
- #157202 (add #[rustc_no_writable] to slice::get_unchecked_mut)
- #157622 (Disable retagging for variadic arguments in const-eval)
- #157684 (-Zassumptions-on-binders: insert empty assumptions when entering binders in the solver)
- #157695 (Extend capabilities of `TypeFoldable_Generic`)
- #157752 (Rename `errors.rs` file to `diagnostics.rs` (6/N))
- #157766 (interpret: avoid computing layout of sized raw pointee)
- #157785 (fuchsia: Support AddressSanitizer on riscv64gc-unknown-fuchsia)
- #157795 (revert 157013)
- #157798 (Prevent approving PRs that wait for Crater or formal decisions)
- #157803 (Rename `errors.rs` file to `diagnostics.rs` (7/N))
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 12, 2026
…rrow-tests, r=aapoalas
Add field-wise CoerceShared reborrow tests
Title. Split from rust-lang#157101
r? @aapoalas
This was referenced Jun 12, 2026
rust-borsBot pushed a commit that referenced this pull request Jun 12, 2026
…uwer
Rollup of 23 pull requests
Successful merges:
- #144220 (Add powerpc64-unknown-linux-gnuelfv2 target)
- #153238 (debuginfo: slices are DW_TAG_array_type's)
- #157112 (Update aarch64-unknown-freebsd target description)
- #157322 (test pre-stabilization items on CI)
- #157348 (Don't track cwd for `-Zremap-cwd-prefix` in incremental compilation)
- #157490 (Add field-wise CoerceShared reborrow tests)
- #157655 (Make Share::share final and improve docs)
- #157672 (Region inference: Simplify initialisation of region values)
- #157680 (Require `#[pin_v2]` for explicit pin-projection patterns)
- #157688 (Create experimental test job `aarch64-apple-macos-26` for evaluating `macos-26` runner images)
- #157796 (rustdoc: Some more lazy formatting)
- #157818 (miri subtree update)
- #157069 (Test that you can't implement Unpin for a compiler-generated future using TAIT)
- #157079 (Don't recover `&raw EXPR` as a missing comma)
- #157202 (add #[rustc_no_writable] to slice::get_unchecked_mut)
- #157622 (Disable retagging for variadic arguments in const-eval)
- #157684 (-Zassumptions-on-binders: insert empty assumptions when entering binders in the solver)
- #157695 (Extend capabilities of `TypeFoldable_Generic`)
- #157766 (interpret: avoid computing layout of sized raw pointee)
- #157785 (fuchsia: Support AddressSanitizer on riscv64gc-unknown-fuchsia)
- #157795 (revert 157013)
- #157798 (Prevent approving PRs that wait for Crater or formal decisions)
- #157803 (Rename `errors.rs` file to `diagnostics.rs` (7/N))
Failed merges:
- #157752 (Rename `errors.rs` file to `diagnostics.rs` (6/N))
@rust-bors
rust-borsBot merged commit 264355d into rust-lang:mainJun 12, 2026
12 checks passed
@rustbotrustbot added this to the 1.98.0 milestone Jun 12, 2026
rust-timer added a commit that referenced this pull request Jun 13, 2026
Rollup merge of #157490 - P8L1:split/coerceshared-field-reborrow-tests, r=aapoalas
Add field-wise CoerceShared reborrow tests
Title. Split from #157101
r? @aapoalas
pullBot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request Jun 13, 2026
…uwer
Rollup of 23 pull requests
Successful merges:
- rust-lang/rust#144220 (Add powerpc64-unknown-linux-gnuelfv2 target)
- rust-lang/rust#153238 (debuginfo: slices are DW_TAG_array_type's)
- rust-lang/rust#157112 (Update aarch64-unknown-freebsd target description)
- rust-lang/rust#157322 (test pre-stabilization items on CI)
- rust-lang/rust#157348 (Don't track cwd for `-Zremap-cwd-prefix` in incremental compilation)
- rust-lang/rust#157490 (Add field-wise CoerceShared reborrow tests)
- rust-lang/rust#157655 (Make Share::share final and improve docs)
- rust-lang/rust#157672 (Region inference: Simplify initialisation of region values)
- rust-lang/rust#157680 (Require `#[pin_v2]` for explicit pin-projection patterns)
- rust-lang/rust#157688 (Create experimental test job `aarch64-apple-macos-26` for evaluating `macos-26` runner images)
- rust-lang/rust#157796 (rustdoc: Some more lazy formatting)
- rust-lang/rust#157818 (miri subtree update)
- rust-lang/rust#157069 (Test that you can't implement Unpin for a compiler-generated future using TAIT)
- rust-lang/rust#157079 (Don't recover `&raw EXPR` as a missing comma)
- rust-lang/rust#157202 (add #[rustc_no_writable] to slice::get_unchecked_mut)
- rust-lang/rust#157622 (Disable retagging for variadic arguments in const-eval)
- rust-lang/rust#157684 (-Zassumptions-on-binders: insert empty assumptions when entering binders in the solver)
- rust-lang/rust#157695 (Extend capabilities of `TypeFoldable_Generic`)
- rust-lang/rust#157766 (interpret: avoid computing layout of sized raw pointee)
- rust-lang/rust#157785 (fuchsia: Support AddressSanitizer on riscv64gc-unknown-fuchsia)
- rust-lang/rust#157795 (revert 157013)
- rust-lang/rust#157798 (Prevent approving PRs that wait for Crater or formal decisions)
- rust-lang/rust#157803 (Rename `errors.rs` file to `diagnostics.rs` (7/N))
Failed merges:
- rust-lang/rust#157752 (Rename `errors.rs` file to `diagnostics.rs` (6/N))
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F-reborrow`#![feature(reborrow)]`; see #145612S-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.

4 participants

@P8L1@rust-log-analyzer@rustbot@aapoalas