Skip to content

Recusion limit (selection ambiguity) reached quickly in monomorphization #40003

Closed
@alexcrichton

Description

@alexcrichton

Originally reported at rust-lang/futures-rs#393 I've minimized this example to a one-file reproduction.

I'm not really sure why it's hitting the limit so quickly, but is this a bug in the compiler or perhaps a bug in the futures crate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.P-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions