Skip to content

Update existing std::str::* lints to also check inherent_str_constructors #14254

Closed
@tgross35

Description

@tgross35

Description

A few clippy lints make use of the str_from_utf8* diagnostic items. Since recently, there is now a new set of diagnostic items str_inherent_from_utf8* associated with the inherent_str_constructors feature rust-lang/rust#131114, which should be checked in the same way.

See rust-lang/rust#137101 for the rustc update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions