Skip to content

go through uses of DefineOpaqueTypes::No and either document or change them #116652

Closed
1 of 1 issue completed

Description

@oli-obk

This issue can be resolved in individual steps (each application of all steps should be their own commit!):

  1. flip a single usage of DefineOpauqeTypes::No to Yes
  2. see what tests fail, document the site by mentioning the test in a comment, revert to ::No, and open a PR.
  3. If no tests fail, still open a PR and assign to @oli-obk or @compiler-errors and leave a comment that there's no test exercising it. We'll try to come up with a test and/or run crater to find examples.

Activity

  1. converted this from a draft issue on Oct 12, 2023
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Oct 12, 2023
  3. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.
    and removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Oct 12, 2023
  4. goldpanth3r commented on Oct 12, 2023

    @goldpanth3r

    Hey @oli-obk! I would like to try to contribute to this. Could you explain Step 1:flip a site to Yes? I tried to search for site and DefineOpaqueTypes::No in the codebase, but couldn't learn much.

  5. matthiaskrgr commented on Oct 12, 2023

    @matthiaskrgr
    Member

    I think it means to just search for DefineOpaqueTypes::No for example:

    compiler/rustc_trait_selection/src/traits/fulfill.rs:540:                                    .eq(DefineOpaqueTypes::No, a.args, b.args)
    

    and change it to DefineOpaqueTypes::Yes 🙃

  6. chansuke commented on Oct 23, 2023

    @chansuke
    Contributor

    @rustbot claim

  7. assigned and unassigned on Feb 21, 2024
  8. removed
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    on Feb 21, 2024
  9. added 2 commits that reference this issue on Apr 15, 2024
  10. 18 remaining items

  11. added 2 commits that reference this issue on Jun 14, 2024
  12. added a commit that references this issue on Jun 14, 2024
  13. added a commit that references this issue on Jun 19, 2024
  14. added a commit that references this issue on Jun 19, 2024
  15. added a commit that references this issue on Jun 19, 2024
  16. added 2 commits that reference this issue on Jun 24, 2024
  17. added a commit that references this issue on Jun 24, 2024
  18. added a commit that references this issue on Jun 24, 2024
  19. added a commit that references this issue on Jun 25, 2024
  20. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Jan 22, 2025
  21. oli-obk commented on Oct 6, 2026

    @oli-obk
    ContributorAuthor

    These will all be handled by landing the next solver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions