rust-lang/rust-analyzer

Cannot import and complete like `bool::fmt`

Aperta

#23.135 aperta il 13 ago 2026

 (5 commenti) (0 reazioni) (1 assegnatario)Rust (1726 fork)batch import
A-assistsA-completionC-bugE-easygood first issue

Metriche repository

Star
 (14.924 stelle)
Metriche merge PR
 (Merge medio 11g 5h) (96 PR mergiate in 30 g)

Descrizione

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

Guida contributor