Skip to content

new_ret_no_self should allow Result<Self, E> #3620

Closed
@Riateche

Description

@Riateche

new_ret_no_self currently triggers if new() returns Result<Self, E>. I think new() is still an idiomatic name for a constructor even if it can fail, so Result<Self, E> should be permitted.

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