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

GATs in QualifiedPathType completion failed. #17218

Open
A4-Tacks opened this issue May 12, 2024 · 0 comments
Open

GATs in QualifiedPathType completion failed. #17218

A4-Tacks opened this issue May 12, 2024 · 0 comments
Labels
A-completion autocompletion C-bug Category: bug

Comments

@A4-Tacks
Copy link

rust-analyzer version: rust-analyzer 1.77.0-nightly (bf8716f1 2023-12-24)

rustc version: rustc 1.77.0-nightly (bf8716f1c 2023-12-24)

editor or extension: Vim9.1 coc.nvim coc-rust-analyzer

code snippet to reproduce:

trait SelfType { type SelfType: ?Sized; }
impl<T: ?Sized> SelfType for T { type SelfType = Self; }

fn main() {
    let _ = <i32 as SelfType>::SelfType::pow(2, 3); // input SelfType::, open completion list, is empty
}

in pow(...) use Hover Doc, is normal

@A4-Tacks A4-Tacks added the C-bug Category: bug label May 12, 2024
@Veykril Veykril added the A-completion autocompletion label May 12, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants