We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 616796a + 97cdf3e commit db1434bCopy full SHA for db1434b
crates/rust-analyzer/src/reload.rs
@@ -55,10 +55,13 @@ impl GlobalState {
55
self.reload_flycheck();
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()
+ {
+ self.analysis_host
62
+ .raw_database_mut()
63
+ .set_enable_proc_attr_macros(self.config.expand_proc_attr_macros());
64
+ }
65
66
67
pub(crate) fn current_status(&self) -> lsp_ext::ServerStatusParams {
0 commit comments