diff options
Diffstat (limited to 'crates/ra_hir/src/debug.rs')
-rw-r--r-- | crates/ra_hir/src/debug.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_hir/src/debug.rs b/crates/ra_hir/src/debug.rs index 48b69000b..c3f890ed4 100644 --- a/crates/ra_hir/src/debug.rs +++ b/crates/ra_hir/src/debug.rs | |||
@@ -36,11 +36,11 @@ impl Module { | |||
36 | } | 36 | } |
37 | } | 37 | } |
38 | 38 | ||
39 | impl HirFileId { | 39 | // impl HirFileId { |
40 | pub fn debug(self, db: &impl HirDebugDatabase) -> impl fmt::Debug + '_ { | 40 | // pub fn debug(self, db: &impl HirDebugDatabase) -> impl fmt::Debug + '_ { |
41 | debug_fn(move |fmt| db.debug_hir_file_id(self, fmt)) | 41 | // debug_fn(move |fmt| db.debug_hir_file_id(self, fmt)) |
42 | } | 42 | // } |
43 | } | 43 | // } |
44 | 44 | ||
45 | pub trait HirDebugHelper: HirDatabase { | 45 | pub trait HirDebugHelper: HirDatabase { |
46 | fn crate_name(&self, _krate: CrateId) -> Option<String> { | 46 | fn crate_name(&self, _krate: CrateId) -> Option<String> { |