Skip to content

[META] opaque type handling #130

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

Open
lcnr opened this issue Oct 7, 2024 · 0 comments
Open

[META] opaque type handling #130

lcnr opened this issue Oct 7, 2024 · 0 comments
Assignees
Labels

Comments

@lcnr
Copy link
Contributor

lcnr commented Oct 7, 2024

Opaque types are have some non-trivial backcompat requirements and generally require a lot of care to support correctly.

misc

problematic may-define outside of typeck

nested bodies

normalizing opaque types allows more code to compile

treating opaque as rigid during typeck

proving item bounds during normalization

opaque type with placeholder args

  • tests/ui/type-alias-impl-trait/param_mismatch.rs
  • tests/ui/type-alias-impl-trait/under-binder.rs
  • tests/ui/closures/supertrait-hint-cycle.rs
@lcnr lcnr added the meta label Jan 21, 2025
@lcnr lcnr moved this to todo in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr closed this as completed by moving to todo in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr reopened this Jan 29, 2025
@lcnr lcnr moved this from todo-simple to in progress in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr moved this from in progress to todo-hard in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr moved this from todo-hard to todo in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr closed this as completed by moving to todo in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr reopened this Jan 29, 2025
@lcnr lcnr moved this from toduu to todo in -Znext-solver=globally Jan 29, 2025
@lcnr lcnr moved this from todo to in progress in -Znext-solver=globally Mar 6, 2025
@lcnr lcnr self-assigned this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: in progress
Development

No branches or pull requests

1 participant