Skip to content

#![allow(clippy:: incorrectly completes with a leading clippy:: #7144

Closed
@RDambrosio016

Description

@RDambrosio016

Reproducible code

#![allow(clippy::

Select any of the lints, it will be completed as #![allow(clippy::clippy::or_fun_call)] for example, which is incorrect.

I presume this is because vsc does not consider clippy:: to be a full ident per the rust grammar, therefore it thinks the completion should go after it because the first part isnt part of it

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-completionautocompletionS-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