Regression test for trait-system-refactor#7#156120
Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom May 4, 2026
Merged
Regression test for trait-system-refactor#7#156120rust-bors[bot] merged 2 commits intorust-lang:mainfrom
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
Conversation
lcnr
reviewed
May 4, 2026
Contributor
|
@bors delegate+ |
Contributor
|
@bors rollup |
Contributor
|
Thank you! |
Co-authored-by: lcnr <rust@lcnr.de>
Contributor
Author
|
Thank you! |
Contributor
Author
|
@bors r=lcnr |
Contributor
rust-timer
added a commit
that referenced
this pull request
May 4, 2026
Rollup merge of #156120 - inq:test-alias-relate-7, r=lcnr Regression test for trait-system-refactor#7 Adds a regression test for [`AliasRelate` hides info in transitive cases](rust-lang/trait-system-refactor-initiative#7). The example previously errored under the new solver but compiles cleanly now thanks to eager normalization (post-rust-lang/rust#119106). Verified on both the `old` and `next` revisions. The issue body has an older TODO suggesting a goal-proving variant test; per lcnr's recent note in `#t-types/trait-system-refactor` ("this isn't an issue as we eagerly normalize"), the underlying mechanism is now resolved across both inference and goal-proving paths, so this single regression test is sufficient. Closing the upstream issue manually after merge. r? @lcnr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a regression test for
AliasRelatehides info in transitive cases.The example previously errored under the new solver but compiles cleanly now thanks to eager normalization (post-rust-lang/rust#119106). Verified on both the
oldandnextrevisions.The issue body has an older TODO suggesting a goal-proving variant test; per lcnr's recent note in
#t-types/trait-system-refactor("this isn't an issue as we eagerly normalize"), the underlying mechanism is now resolved across both inference and goal-proving paths, so this single regression test is sufficient. Closing the upstream issue manually after merge.r? @lcnr