Skip to content

Add completions for traits in generic bounds #652

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

Open
integraledelebesgue opened this issue May 16, 2025 · 0 comments · May be fixed by #678
Open

Add completions for traits in generic bounds #652

integraledelebesgue opened this issue May 16, 2025 · 0 comments · May be fixed by #678
Assignees

Comments

@integraledelebesgue
Copy link
Member

integraledelebesgue commented May 16, 2025

When typing:

fn foo<T, +D<caret>>() {}

completion fails and LS panics. The error appears for both built-in and user-defined traits.

Instead, Drop, Destruct, Deserialize etc. should be proposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant