Skip to content

#[allow(...)] completions need closing parenthesis and brace #1150

@mqudsi

Description

@mqudsi

rls is unable to complete linter allow hints without a closing parenthesis and brace, but is able to complete them otherwise.

i.e. this works:

#[allow(̲̯ )]

but this doesn`t

#[allow(̲̯ 

(In case it's not rendered correctly, the completion is triggered at the same location immediately after the opening ( in both samples.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions