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.
analysis-stats
1 parent d647568 commit d174b91Copy full SHA for d174b91
crates/rust-analyzer/src/cli/load_cargo.rs
@@ -4,6 +4,7 @@ use std::{path::Path, sync::Arc};
4
5
use anyhow::Result;
6
use crossbeam_channel::{unbounded, Receiver};
7
+use hir::db::DefDatabase;
8
use ide::{AnalysisHost, Change};
9
use ide_db::base_db::CrateGraph;
10
use project_model::{
@@ -94,6 +95,8 @@ fn load_crate_graph(
94
95
let mut host = AnalysisHost::new(lru_cap);
96
let mut analysis_change = Change::new();
97
98
+ host.raw_database_mut().set_enable_proc_attr_macros(true);
99
+
100
// wait until Vfs has loaded all roots
101
for task in receiver {
102
match task {
0 commit comments