mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Cleanup
This commit is contained in:
parent
4ef6a49b44
commit
4303e741de
42 changed files with 433 additions and 468 deletions
|
@ -11,7 +11,7 @@ use hir_expand::proc_macro::{
|
|||
};
|
||||
use ide_db::{
|
||||
base_db::{CrateGraph, Env, SourceRoot},
|
||||
prime_caches, Change, FxHashMap, RootDatabase,
|
||||
prime_caches, ChangeWithProcMacros, FxHashMap, RootDatabase,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
use proc_macro_api::{MacroDylib, ProcMacroServer};
|
||||
|
@ -314,7 +314,7 @@ fn load_crate_graph(
|
|||
|
||||
let lru_cap = std::env::var("RA_LRU_CAP").ok().and_then(|it| it.parse::<usize>().ok());
|
||||
let mut db = RootDatabase::new(lru_cap);
|
||||
let mut analysis_change = Change::new();
|
||||
let mut analysis_change = ChangeWithProcMacros::new();
|
||||
|
||||
db.enable_proc_attr_macros();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue