Skip to content

Missing auto completion on std library #15845

@chojs23

Description

@chojs23

rust-analyzer version : 2023-11-06

When I didn't import std::io::Write trait for TcpStream struct and I expect write() method for suggestion, but rust-analyzer only shows four methods.

If I add use::std::Write , It shows write() method for suggestions.

I use neovim and lsp-config and when I use vscode and rust-analyzer plugin, It does not work like neovim.

With intellij and jetbrain's rust plugin, It shows many other method for struct.

스크린샷 2023-11-07 오후 10 41 03

Metadata

Metadata

Assignees

Labels

A-completionautocompletionBroken WindowBugs / technical debt to be addressed immediatelyC-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions