Skip to content

Add a regression test for issue 129865#149421

Merged
bors merged 1 commit into
rust-lang:mainfrom
ShoyuVanilla:regression-129865
Nov 29, 2025
Merged

Add a regression test for issue 129865#149421
bors merged 1 commit into
rust-lang:mainfrom
ShoyuVanilla:regression-129865

Conversation

@ShoyuVanilla
Copy link
Copy Markdown
Member

@ShoyuVanilla ShoyuVanilla commented Nov 28, 2025

Closes #129865

Looks like the previous versions (< 1.85.0) failed to normalize async block's upvar types containing constants but not anymore

@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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 28, 2025
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Nov 28, 2025

r? @eholk

rustbot has assigned @eholk.
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

@chenyukang
Copy link
Copy Markdown
Member

Thanks!
@bors r=chenyukang

@bors
Copy link
Copy Markdown
Collaborator

bors commented Nov 29, 2025

📌 Commit c6b0f78 has been approved by chenyukang

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 Nov 29, 2025
bors added a commit that referenced this pull request Nov 29, 2025
Rollup of 5 pull requests

Successful merges:

 - #147362 (Avoid suggesting constrain the associated type with unknown type)
 - #149395 (float::minimum/maximum: say which exact IEEE operation this corresponds to)
 - #149396 (Remove outdated comment)
 - #149421 (Add a regression test for issue 129865)
 - #149424 (Update books)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 0b94bc0 into rust-lang:main Nov 29, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Nov 29, 2025
rust-timer added a commit that referenced this pull request Nov 29, 2025
Rollup merge of #149421 - ShoyuVanilla:regression-129865, r=chenyukang

Add a regression test for issue 129865

Closes #129865

Looks like the previous versions (`< 1.85.0`) failed to normalize async block's upvar types containing constants but not anymore
@ShoyuVanilla ShoyuVanilla deleted the regression-129865 branch November 30, 2025 07:55
//@ compile-flags: -Znext-solver
//@ check-pass
//@ edition:2021

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.

would have been nice to add a "// Regression test for #129865. <one line explanation of what happened here" to test test.

That makes it a lot easier to figure out what it's supposed to be testing

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Okay, I'll add it when opening next PR

github-actions Bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Jan 20, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang#147362 (Avoid suggesting constrain the associated type with unknown type)
 - rust-lang#149395 (float::minimum/maximum: say which exact IEEE operation this corresponds to)
 - rust-lang#149396 (Remove outdated comment)
 - rust-lang#149421 (Add a regression test for issue 129865)
 - rust-lang#149424 (Update books)

r? `@ghost`
`@rustbot` modify labels: rollup
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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

async code fails to compile with -Znext-solver

6 participants