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

Failed to normalize ... maybe try to call try_normalize_erasing_regions instead #114425

Closed
Mark-Simulacrum opened this issue Aug 3, 2023 · 3 comments
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone

Comments

@Mark-Simulacrum
Copy link
Member

[INFO] [stdout] error: internal compiler error: compiler/rustc_middle/src/ty/normalize_erasing_regions.rs:195:90: Failed to normalize unsafe extern "C" fn(sabi_types::rref::RRef<'_, marker_type::ErasedObject>) -> std_types::result::RResult<<I as erased_types::traits::GetSerializeProxyType<'_>>::ProxyType, std_types::std_error::RBoxError_>, maybe try to call `try_normalize_erasing_regions` instead
@Mark-Simulacrum Mark-Simulacrum added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Aug 3, 2023
@Mark-Simulacrum Mark-Simulacrum added this to the 1.72.0 milestone Aug 3, 2023
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Aug 3, 2023
@Noratrieb
Copy link
Member

this is a probably a case that was already fixed in the invalid_ctypes lint (I don't remember the issue number off the top of my head)

@Noratrieb
Copy link
Member

not having tested it myself, this is probably #113900 which was fixed by #113921
It was reported for this crate. The PR seems safe to backport if deemed important enough.

@Noratrieb Noratrieb removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 3, 2023
@cuviper
Copy link
Member

cuviper commented Aug 14, 2023

#113921 was backported in #114748.

@cuviper cuviper closed this as completed Aug 14, 2023
@apiraino apiraino removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants