Skip to content

Wrong assoc. item completion in trait impl #12474

@jonas-schievink

Description

@jonas-schievink
trait Tr {
    type Assoc;
}

impl Tr for () {
    type$0
}

Applying the type Assoc = completion results in:

trait Tr {
    type Assoc;
}

impl Tr for () {
    typetype Assoc = $0;
}

This doesn't seem to happen on nightlies that are a few days old, so this is a recent regression, possibly introduced by #12461

Metadata

Metadata

Assignees

Labels

A-completionautocompletionC-bugCategory: bugS-actionableSomeone could pick this issue up and work on it right now

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions