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

discuss projection equality #51

Closed
BoxyUwU opened this issue Jul 25, 2022 · 1 comment
Closed

discuss projection equality #51

BoxyUwU opened this issue Jul 25, 2022 · 1 comment
Labels
deep-dive-proposal Proposal for a deep-dive discussion meeting

Comments

@BoxyUwU
Copy link
Member

BoxyUwU commented Jul 25, 2022

Summary

Talk about rust-lang/rust#96912 (and generally how projection equality should look like)

Rationale

for<'a> <_ as Trait<'a>>::Assoc: Other bounds resulting in an error is a problem i keep seeing encountered

  • came across it in bevy_ecs
  • known generic_associated_types issue
  • blocker for supporting some kind of F: Fn(T) -> _ for an unconstrained output type as the only reason to want to use -> _ would involve the fn being higher ranked which basically guarantees encountering this bug playground

Also there's a weird hacky change to selection in this PR to fix a typenum regression which definitely seems good to talk about before merged 🤔

@BoxyUwU BoxyUwU added the deep-dive-proposal Proposal for a deep-dive discussion meeting label Jul 25, 2022
@BoxyUwU
Copy link
Member Author

BoxyUwU commented Oct 2, 2022

This meeting was had here with this document

@BoxyUwU BoxyUwU closed this as completed Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deep-dive-proposal Proposal for a deep-dive discussion meeting
Projects
None yet
Development

No branches or pull requests

1 participant