rename symbol fails to to rename a reference to a symbol that is inactive due to a cfg
attribute
#20005
emilyyyylime
started this conversation in
General
Replies: 1 comment 1 reply
-
This is expected, and kinda not a bug. r-a cannot analyze cfg'ed out code. |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Uh oh!
There was an error while loading. Please reload this page.
-
rust-analyzer version:
rust-analyzer 1.87.0 (17067e9 2025-05-09)
(stable)rustc version:
rustc 1.87.0 (17067e9ac 2025-05-09)
(stable)editor or extension: Helix
relevant settings:
cargo.features = 'all'
code snippet to reproduce:
x
relevant: #16346
Beta Was this translation helpful? Give feedback.
All reactions