code snippet to reproduce:
//- minicore: future
fn foo(t: T) {
let _ = t.$0;
}
t is of type T which isn't defined anywhere, which in turn causes a completion t.await to appear. If we define T, e.g. by adding it as a generic to foo, then the completion is (correctly) no longer shown.
rust-analyzer version: rust-analyzer 1.95.0 (5980761 2026-04-14)
rustc version: rustc 1.95.0 (59807616e 2026-04-14)
editor or extension: VSCode, extension version 0.3.2913
relevant settings: none
@rustbot claim
code snippet to reproduce:
tis of typeTwhich isn't defined anywhere, which in turn causes a completiont.awaitto appear. If we defineT, e.g. by adding it as a generic tofoo, then the completion is (correctly) no longer shown.rust-analyzer version: rust-analyzer 1.95.0 (5980761 2026-04-14)
rustc version: rustc 1.95.0 (59807616e 2026-04-14)
editor or extension: VSCode, extension version 0.3.2913
relevant settings: none
@rustbot claim