We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b05f906 + d09331c commit 1e7c467Copy full SHA for 1e7c467
src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs
@@ -1776,7 +1776,7 @@ impl Config {
1776
1777
pub fn lens(&self) -> LensConfig {
1778
LensConfig {
1779
- run: *self.lens_run_enable(),
+ run: *self.lens_enable() && *self.lens_run_enable(),
1780
debug: *self.lens_enable() && *self.lens_debug_enable(),
1781
interpret: *self.lens_enable() && *self.lens_run_enable() && *self.interpret_tests(),
1782
implementations: *self.lens_enable() && *self.lens_implementations_enable(),
0 commit comments