rust-lang/rust-analyzer
Cannot import and complete like `bool::fmt`
Open
#23,135 opened on Aug 13, 2026
A-assistsA-completionC-bugE-easygood first issue
Repository metrics
- Stars
- (14,924 stars)
- PR merge metrics
- (Avg merge 11d 5h) (96 merged PRs in 30d)
Description
rust-analyzer version: rust-analyzer 0.4.3001-standalone
rustc version: rustc 1.97.0-nightly (36ba2c771 2026-04-23)
editor or extension: Vim
code snippet to reproduce:
fn main() {
bool::fmt(todo!());
}
Cursor on fmt, try code action and completions