Skip to content

code action to enable feature gate when using a nightly feature #17061

Open

Description

b" hi".trim_ascii();

If it's not enabled it even suggests to enable the feature gate #![feature(byte_slice_trim_ascii)]
It would be nice to have a code action that adds it to the crate root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsdiagnostics / error reportingC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions