Skip to content

Diagnostics code produces malformed obligations #153186

@lcnr

Description

@lcnr

#152661 papers over a larger more involved issue and we should fix the underlying issue here.

Yeah, it's not the next-solver that produces fewer args.
The problem is that obligation, i.e. its trait def just has the fewer args(=1) here and > it is ZeroablePrimitive in this case.
I'll look into why we are trying to report a fulfillment error on it.

Originally posted by @ShoyuVanilla in #152661 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-typesRelevant to the types team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions