Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for #113272 #117539

Closed
wants to merge 1 commit into from
Closed

Conversation

matthiaskrgr
Copy link
Member

error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:195:90: Failed to normalize <() as Trait>::RefTarget, maybe try to call try_normalize_erasing_regions instead

Fixes #113272

error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:195:90: Failed to normalize <() as Trait>::RefTarget, maybe try to call `try_normalize_erasing_regions` instead

Fixes rust-lang#113272
@rustbot
Copy link
Collaborator

rustbot commented Nov 3, 2023

r? @oli-obk

(rustbot has picked a reviewer for you, use r? to override)

@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 Nov 3, 2023
@oli-obk
Copy link
Contributor

oli-obk commented Nov 3, 2023

r? compiler

@rustbot rustbot assigned wesleywiser and unassigned oli-obk Nov 3, 2023
@compiler-errors
Copy link
Member

Was this fixed by #112810? If so, then almost exactly the same test was committed there (except suppressing a missing item error), and this should be closed even if the tests differ slightly.

@compiler-errors
Copy link
Member

If not, please can you do a bisection to see when this test started passing? I would like more information to be added here rather than adding almost exactly the same test into the test suite twice.

@matthiaskrgr
Copy link
Member Author

@compiler-errors it seems this was fixed in #116849 🤔

@compiler-errors
Copy link
Member

could you edit tests/ui/layout/cannot-transmute-unnormalizable-type.rs to add a new revision that excludes the associated item, rather than adding a new test?

@wesleywiser wesleywiser 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 Nov 14, 2023
@Dylan-DPC
Copy link
Member

@matthiaskrgr any updates on this? thanks

@oskgo
Copy link
Contributor

oskgo commented Jul 26, 2024

@matthiaskrgr

Ping from triage: I'm closing this due to inactivity, Please reopen when you are ready to continue with this.
Note: if you are going to continue please open the PR BEFORE you push to it, else you won't be able to reopen - this is a quirk of github.
Thanks for your contribution.

@rustbot label: +S-inactive

@oskgo oskgo closed this Jul 26, 2024
@rustbot rustbot added the S-inactive Status: Inactive and waiting on the author. This is often applied to closed PRs. label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-inactive Status: Inactive and waiting on the author. This is often applied to closed PRs. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

ICE: Failed to normalize Alias(Projection, AliasTy ..
7 participants