Missing completions for items defined inside a const _: () = { ... }
block
#14263
Labels
C-bug
Category: bug
const _: () = { ... }
block
#14263
rust-analyzer version:
rust-analyzer 0.3.1426-standalone
rustc version:
rustc 1.67.1 (d5a82bbd2 2023-02-07)
I have run into some missing completions with bitflags
v2.0.0-rc.3
. I have managed to make a minimal reproducer:If you put your cursor inside the
f
function, you should be able to do a completion onT::FIELD
, however that completion does not show up.The completion works as expected if you change
m! { FIELD }
tom!(FIELD);
or if you inline the definition.The text was updated successfully, but these errors were encountered: