Skip to content

add next-solver regression test for recursive opaque ICE under validate-mir - #164678

Open
Albab-Hasan wants to merge 1 commit into
rust-lang:mainfrom
Albab-Hasan:recursive-opaque-validate-mir-test
Open

Albab-Hasan wants to merge 1 commit into
rust-lang:mainfrom
Albab-Hasan:recursive-opaque-validate-mir-test

Conversation

@Albab-Hasan

Copy link
Copy Markdown
Contributor

fixes #151297

r? @lcnr

@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 Oct 21, 2026
@Albab-Hasan

Copy link
Copy Markdown
Contributor Author

@lcnr hello, any updates?

@adwinwhite adwinwhite 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.

Comment on lines +1 to +3
// Regression test for https://github.com/rust-lang/rust/issues/151297.
//~^ ERROR overflow evaluating the requirement `generator_sig::{opaque#0} == _`
//@ compile-flags: -Znext-solver -Zvalidate-mir

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.

Could you put the compile-flags at the top?
And comment that this used to ICE :>

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.

Oh, please also do the same for tests in your other PRs. Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure and thanks for the review, i really appreciate it!

@rustbot rustbot assigned adwinwhite and unassigned lcnr Nov 4, 2026
@adwinwhite adwinwhite changed the title add next-solver regression test for recursive opaque ices under validate-mir add next-solver regression test for recursive opaque ICE under validate-mir Nov 4, 2026
@adwinwhite

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

📌 Commit fa14767 has been approved by adwinwhite

It is now in the queue for this repository.

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

Copy link
Copy Markdown
Contributor

@bors r-

@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 5, 2026
@rust-bors

rust-bors Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved.

View changes since this unapproval

@adwinwhite

Copy link
Copy Markdown
Contributor

@bors rollup
@bors r+ squash

@rust-bors

This comment has been minimized.

…te-mir

* add next-solver regression test for recursive opaque ices under validate-mir
* move compile-flags to the top of the test and note that it used to ice
@rust-bors

rust-bors Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

🔨 2 commits were squashed into b66ec59.

@rust-bors

rust-bors Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b66ec59 has been tentatively approved by adwinwhite

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

@rust-bors
rust-bors Bot force-pushed the recursive-opaque-validate-mir-test branch from fa14767 to b66ec59 Compare November 5, 2026 01:26
@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 5, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 5, 2026
…ate-mir-test, r=adwinwhite

add next-solver regression test for recursive opaque ICE under validate-mir

fixes rust-lang#151297

r? @lcnr
rust-bors Bot pushed a commit that referenced this pull request Nov 5, 2026
Rollup of 13 pull requests

Successful merges:

 - #163477 (Fancy paramenv accessors that communicate the access pattern better.)
 - #160593 (turn ABI-controlling target features into a target modifier)
 - #164896 (offload: pass the linked device image to the host pass)
 - #165468 (Remove return type from `BuilderMethods::store`)
 - #159374 (Lower #[no_mangle] to #[symbol_name]/#[link_name])
 - #164564 (Re-enable outline-atomics by default on more AArch64 platforms)
 - #164623 (add next-solver regression tests for two fixed ices)
 - #164678 (add next-solver regression test for recursive opaque ICE under validate-mir)
 - #165429 (Add tests for `-Zcrate-attr` edition and position)
 - #165430 ([tiny] Show context for found assoc item in E0107)
 - #165456 (std: Fix build for the L4Re targets)
 - #165463 (Add BTreeMap::allocator and BTreeSet::allocator)
 - #165466 (Don't "exit" using `panic` on teeos)

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-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.

ICE: Failed to normalize Alias(Opaque

4 participants