Skip to content

Add #[must_use] to generated as_ method. #13312

@nitsky

Description

@nitsky

Generated as_ methods for enum variants do not have #[must_use], causing clippy to display an error.

Screen Shot 2022-09-29 at 10 47 49 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-assistsC-featureCategory: feature requestS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions