rust-analyzer: code is inactive due to #[cfg] directives: test is disabled (inactive-code) #8377
Unanswered
cyanic-selkie
asked this question in
General
Replies: 1 comment
-
|
Is there any solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When using
rust-analyzeras Rust's LSP, I keep getting this warning for all#[cfg(test)]code. From what I understand,rust-analyzeris supposed to include thetestfeature by default.My language configuration for Rust is:
I tried setting
allTargetstotrue(which should betrueby default anyway) andfeaturestoall. However, it doesn't work. Any help is appreciated.My helix version is 23.05.
Beta Was this translation helpful? Give feedback.
All reactions