Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base-db/src/lib.rs')
-rw-r--r--crates/base-db/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/base-db/src/lib.rs b/crates/base-db/src/lib.rs
index b3c7f84249..916e8c9830 100644
--- a/crates/base-db/src/lib.rs
+++ b/crates/base-db/src/lib.rs
@@ -265,7 +265,7 @@ pub struct SourceRootInput {
}
#[salsa_macros::db]
-pub trait SourceDatabase: salsa::Database {
+pub trait SourceDatabase: salsa::Database + std::fmt::Debug {
/// Text of the file.
fn file_text(&self, file_id: vfs::FileId) -> FileText;