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

Make normalize_generic_arg_after_erasing_regions return a Result #85485

Conversation

LeSeulArtichaut
Copy link
Contributor

I hope the perf impact of doing this is not too big, opening this for a perf test.

Fixes #85103, blocked on #85469.
r? @ghost cc @camelid

@LeSeulArtichaut LeSeulArtichaut added S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. labels May 19, 2021
@bors
Copy link
Contributor

bors commented May 30, 2021

☔ The latest upstream changes (presumably #83772) made this pull request unmergeable. Please resolve the merge conflicts.

@LeSeulArtichaut LeSeulArtichaut deleted the 85103-fallible-normalize branch August 25, 2021 21:58
@camelid
Copy link
Member

camelid commented Aug 27, 2021

@LeSeulArtichaut Just curious, why did you close this?

@LeSeulArtichaut
Copy link
Contributor Author

@camelid I'm not going to be able to work on Rust for a while, so I've closed all my unfinished PRs. Anyone is free to pick up any of them. I know Jack Huey won't complain if someone picks up #85469 😇

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 28, 2021
Make `TypeFolder::fold_*` return `Result`

Implements rust-lang/compiler-team#432.

Initially this is just a rebase of `@LeSeulArtichaut's` work in rust-lang#85469 (abandoned; see rust-lang#85485 (comment)).  At that time, it caused a regression in performance that required some further exploration... with this rebased PR bors can hopefully report some perf analysis from which we can investigate further (if the regression is indeed still present).

r? `@jackh726` cc `@nikomatsakis`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#[rustc_layout(debug)] ICEs when applied to some type aliases
3 participants