ra have trouble to expand procedural macro of the xflags
crate when doc comment is used
#17137
Labels
C-bug
Category: bug
xflags
crate when doc comment is used
#17137
rust-analyzer version:
rustc version:
editor or extension:
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)none
code snippet to reproduce:
some notes:
the code is perfectly good;
cargo build
andcargo run
cargo expand
shows correct outputvscode command "expand macro recursively at caret" output is EMPTY;
ra doesn't seem to report any errors, as far as I can see, even with
RA_LOG = info
the macro generated types won't appear in code completion candidate list;
removing doc comment lines "fixes" the problem;
changing doc comment lines into equivalent
#[doc = "..."]
attributes also "fixes" the problem,The text was updated successfully, but these errors were encountered: