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.
1 parent dd3f5e0 commit 614aefbCopy full SHA for 614aefb
crates/rust-analyzer/src/reload.rs
@@ -56,9 +56,13 @@ impl GlobalState {
56
}
57
58
// Apply experimental feature flags.
59
- self.analysis_host
60
- .raw_database_mut()
61
- .set_enable_proc_attr_macros(self.config.expand_proc_attr_macros());
+ if self.analysis_host.raw_database().enable_proc_attr_macros()
+ != self.config.expand_proc_attr_macros()
+ {
62
+ self.analysis_host
63
+ .raw_database_mut()
64
+ .set_enable_proc_attr_macros(self.config.expand_proc_attr_macros());
65
+ }
66
67
68
pub(crate) fn current_status(&self) -> lsp_ext::ServerStatusParams {
0 commit comments