Uh oh!
There was an error while loading. Please reload this page.
support higher-ranked regions in opaque type inference - #100503
Conversation
rust-highfive
commented
Aug 13, 2022
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
r? @ghost |
6d8101f to
00ad09aComparethe8472
commented
Aug 15, 2022
@bors try @rust-timer queue |
rust-timer
commented
Aug 15, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Aug 15, 2022
⌛ Trying commit 00ad09a6d887bb405b066fcb3cfd7862016544af with merge 3d24f8fa902ae9abd51f0d08aa8a0d7b2895840f... |
bors
commented
Aug 15, 2022
☀️ Try build successful - checks-actions |
rust-timer
commented
Aug 15, 2022
Queued 3d24f8fa902ae9abd51f0d08aa8a0d7b2895840f with parent 6ce7609, future comparison URL. |
rust-timer
commented
Aug 15, 2022
Finished benchmarking commit (3d24f8fa902ae9abd51f0d08aa8a0d7b2895840f): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Footnotes |
When checking `'sup: 'sub`, take placeholder elements into account. This wasn't a problem previously (I hope!) because `eval_outlives` was only used for type_tests, which don't have higher-ranked outlive relations.
00ad09a to
e6b62a0Comparealiemjay
commented
Aug 15, 2022
Should be ready now. I've done a couple perf changes that might help. r? types |
bors
commented
Aug 21, 2022
☔ The latest upstream changes (presumably #100847) made this pull request unmergeable. Please resolve the merge conflicts. |
spastorino
commented
Sep 8, 2022
r? types |
jackh726
commented
Dec 15, 2022
Nominating to get this moving again (though I imagine this will get delayed until after holidays) |
lcnr
commented
Jan 18, 2023
unnominating with the expectation that @aliemjay will either schedule a meeting with niko or assign this PR to me. |
anden3
commented
May 14, 2023
Hello @aliemjay! Noticed there's some merge conflicts, what's the status of this PR? |
lcnr
commented
May 15, 2023
given the time i've spent on this topic recently r? @lcnr we probably want to wait on the t-types meeting about opaque types today though before making progress on this |
Dylan-DPC
commented
Jul 24, 2023
Blocked on #113575 |
don't ICE on higher ranked hidden types This shouldn't allow more code to compile, only replaces the ICE with a nicer error message. Fixesrust-lang#97098. Fixesrust-lang#97099. Fixesrust-lang#108399Fixesrust-lang#104196Fixesrust-lang#113481Fixesrust-lang#103186Fixesrust-lang#100818 r? `@lcnr` (because you showed interest in rust-lang#100503 :)
Dylan-DPC
commented
Oct 7, 2023
No longer blocked as the pr it was blocked on, is merged |
Dylan-DPC
commented
Feb 4, 2024
@aliemjay any updates on this? |
…r=lcnr test that we do not support higher-ranked regions in opaque type inference We already do all the right checks in `check_opaque_type_parameter_valid`, and we have done so since at least 2 years. I collected the tests from rust-lang#116935 and rust-lang#100503 and added some more cc rust-lang#96146 r? `@lcnr`
…r=lcnr test that we do not support higher-ranked regions in opaque type inference We already do all the right checks in `check_opaque_type_parameter_valid`, and we have done so since at least 2 years. I collected the tests from rust-lang#116935 and rust-lang#100503 and added some more cc rust-lang#96146 r? `@lcnr`
Rollup merge of rust-lang#121386 - oli-obk:no_higher_ranked_opaques, r=lcnr test that we do not support higher-ranked regions in opaque type inference We already do all the right checks in `check_opaque_type_parameter_valid`, and we have done so since at least 2 years. I collected the tests from rust-lang#116935 and rust-lang#100503 and added some more cc rust-lang#96146 r? `@lcnr`
Dylan-DPC
commented
Mar 9, 2024
Closing this as inactive. Feel free to reöpen this pr or create a new pr if you get the time to work on this. Thanks |
Best reviewed commit by commit.
Cc @WaffleLapkin this may help #93582.
Fixes#96146.
Fixes#97098.
Fixes#97099.
Builds on #100375.