Skip to content

WF of a type variable unconditionally evaluates to Yes #36

Closed
rust-lang/rust
#112965
@aliemjay

Description

@aliemjay

In compute_well_formed_goal, when given a goal WF(?0), it adds the same input goal as a recursive goal, which is then evaluated to Yes because of WF goals being coinductive.

TODO: write a test (it seems hard to exploit).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions