Skip to content

When an unstable method is autocompleted and no feature flag is present, add one #3021

Open
@SomeoneToIgnore

Description

@SomeoneToIgnore

In the project with nightly toolchain used, Some(22).ex<|> proposes expect_none method which is unstable currently.

image

But when I autocomplete it, I need to manually add the feature flag to enable the feature.
I would expect RA to add this flag automatically, if not added already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-completionautocompletionC-enhancementCategory: enhancementE-hardS-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