Skip to content

Rustc fails to resolve trait bounds #46309

Closed
@weiznich

Description

@weiznich

Calling a trait function directly or with UFCS should be interchangeable if no additional type parameters need to be specified.
This code shows a example where this is not the case. As soon as line 76 is comment in the code will fail to compile with this pretty error message.

(The example code needs diesel master as dependency)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions