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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir-def/src/test_db.rs b/crates/hir-def/src/test_db.rs
index 0598ab4a04..4433522c18 100644
--- a/crates/hir-def/src/test_db.rs
+++ b/crates/hir-def/src/test_db.rs
@@ -20,7 +20,7 @@ use crate::{
src::HasSource,
};
-#[salsa_macros::db]
+#[salsa::db]
pub(crate) struct TestDB {
storage: salsa::Storage<Self>,
files: Arc<base_db::Files>,
@@ -73,7 +73,7 @@ impl Clone for TestDB {
}
}
-#[salsa_macros::db]
+#[salsa::db]
impl salsa::Database for TestDB {}
impl fmt::Debug for TestDB {
@@ -84,7 +84,7 @@ impl fmt::Debug for TestDB {
impl panic::RefUnwindSafe for TestDB {}
-#[salsa_macros::db]
+#[salsa::db]
impl SourceDatabase for TestDB {
fn file_text(&self, file_id: base_db::FileId) -> FileText {
self.files.file_text(file_id)