Uh oh!
There was an error while loading. Please reload this page.
fix: impl Trait desugaring in trait objects' assoc constraints - #97335
fix: impl Trait desugaring in trait objects' assoc constraints#97335mehdiakiki wants to merge 33 commits into
Conversation
rust-highfive
commented
May 23, 2022
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
mehdiakiki
commented
May 23, 2022
r? @cjgillot |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
commented
Jun 3, 2022
☔ The latest upstream changes (presumably #97598) made this pull request unmergeable. Please resolve the merge conflicts. |
| ty.span, | ||
| ), | ||
| ImplTraitContext::Universal(item_def) => { | ||
| //| ImplTraitContext::UniversalInDyn(item_def) => { |
There was a problem hiding this comment.
| //| ImplTraitContext::UniversalInDyn(item_def) => { | |
| | ImplTraitContext::UniversalInDyn(item_def) => { |
This is the correct behaviour here.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
commented
Jun 17, 2022
☔ The latest upstream changes (presumably #98106) made this pull request unmergeable. Please resolve the merge conflicts. |
Dylan-DPC
commented
Nov 6, 2022
@randomicon00 what's the status of this? |
@Dylan-DPC Will have an update in the next two weeks. |
Dylan-DPC
commented
May 13, 2023
@randomicon00 any updates on this? |
Dylan-DPC
commented
Oct 7, 2023
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 |
Issue: #96529
Right now, the tasks that are done:
impl_trait_idtorust_ast::AssocConstraint.In progress:
The next tasks are a break out of what I am trying to accomplish. A bit different from the original tasks in order to be as precise as possible and help with mentoring.
visit_assoc_constraintindef_collectorand create the local def id there by matching withUniversalInDyncontext.desugar_to_impl_traitwith the associated constraint check.rust_ast_lowering::ImplTraitContextand add the vector toLoweringContext.with_hir_id_owner.Not started yet.
ResolverAstLowering::get_impl_trait_context(LocalDefId)to access theImplTraitContextvalue.lower_fn_decl.