Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/test_db.rs')
-rw-r--r--crates/hir-def/src/test_db.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/hir-def/src/test_db.rs b/crates/hir-def/src/test_db.rs
index e3fd4560f0..7831f58046 100644
--- a/crates/hir-def/src/test_db.rs
+++ b/crates/hir-def/src/test_db.rs
@@ -15,7 +15,6 @@ use triomphe::Arc;
use crate::{
Lookup, ModuleDefId, ModuleId,
- db::DefDatabase,
expr_store::{Body, scope::ExprScopes},
nameres::{DefMap, ModuleSource, block_def_map, crate_def_map},
src::HasSource,
@@ -48,7 +47,7 @@ impl Default for TestDB {
crates_map: Default::default(),
nonce: Nonce::new(),
};
- this.set_expand_proc_attr_macros_with_durability(true, Durability::HIGH);
+ crate::db::set_expand_proc_attr_macros(&mut this, true);
// This needs to be here otherwise `CrateGraphBuilder` panics.
set_all_crates_with_durability(&mut this, std::iter::empty(), Durability::HIGH);
_ = base_db::LibraryRoots::builder(Default::default())