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

Clarify the normalization of types #300

Open
Nadrieril opened this issue Aug 5, 2024 · 0 comments
Open

Clarify the normalization of types #300

Nadrieril opened this issue Aug 5, 2024 · 0 comments
Assignees

Comments

@Nadrieril
Copy link
Member

There are a few places related to trait solving in charon and hax where we call normalize_erasing_regions. This has the benefit of normalizing associated types (e.g. <T as Trait>::Type becomes RealType in cases where the real type is known) but the drawback of losing region information. Moreover it's not done consistently. We should do this consistently.

If it's only used for associated types we could also normalize these ourselves as part of #127.

@Nadrieril Nadrieril self-assigned this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant