rust-lang/rust-analyzer

Cannot import and complete like `bool::fmt`

开放

#23,135 创建于 2026年8月13日

 (5 条评论) (0 个反应) (1 位负责人)Rust (1,726 个派生)batch import
A-assistsA-completionC-bugE-easygood first issue

仓库指标

星标
 (14,924 个星标)
PR 合并指标
 (平均合并 11天 5小时) (30 天内合并 96 个 PR)

描述

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

贡献者指南