Skip to content

Qualified path pattern completions don't respect existing braces #12852

Closed
@Veykril

Description

@Veykril
enum Foo {
    Bar(u32)
}
struct Some<T>(T);
match Some(Foo::Bar(0)) {
    Some(Foo::$0())
}

Triggering the completion here inserts another () pair resulting in Foo::Bar()()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions