Skip to content

add regression test for reborrow-invariant-type - #163847

Open
zanville wants to merge 1 commit into
rust-lang:mainfrom
zanville:add-test-reborrow-type
Open

zanville wants to merge 1 commit into
rust-lang:mainfrom
zanville:add-test-reborrow-type

Conversation

@zanville

@zanville zanville commented Oct 5, 2026 •

Copy link
Copy Markdown

Fixes #157313

hey, hope this regression test covers the issue! happy to strengthen the test as well :)

I used cargo bisect-rustc to find what fixed it, and it pointed me to #159103 as more context if that helps

@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 Oct 5, 2026
@rustbot

rustbot commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project has assigned @tiif (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks.

Please see the contribution instructions and our LLM policy for more information.

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 77 candidates
  • Random selection from 19 candidates

@zanville zanville changed the title add regression test add regression test for reborrow-invariant-type Oct 5, 2026

This branch has not been deployed

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

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementing Reborrow on invariant type has strange behavior.

3 participants