Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong assoc. item completion in trait impl #12474

Closed
jonas-schievink opened this issue Jun 5, 2022 · 0 comments · Fixed by #12475
Closed

Wrong assoc. item completion in trait impl #12474

jonas-schievink opened this issue Jun 5, 2022 · 0 comments · Fixed by #12475
Assignees
Labels
A-completion autocompletion C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now

Comments

@jonas-schievink
Copy link
Contributor

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

@jonas-schievink jonas-schievink added A-completion autocompletion S-actionable Someone could pick this issue up and work on it right now C-bug Category: bug labels Jun 5, 2022
@Veykril Veykril self-assigned this Jun 5, 2022
@bors bors closed this as completed in ad6810e Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-completion autocompletion C-bug Category: bug S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants